The object for defining the drop cap text style for use in the first paragraph in a text component.
- Apple News Format 1.7+
The approximate number of text lines this drop cap should span. For example, if
number is set to
3, and the top of the drop cap is aligned with the top of the first line, the bottom of the drop cap will drop to the bottom of the third line, although the actual drop amount can vary depending on the device and its orientation.
The background color of the drop cap. By default, no background color is applied, making the background effectively transparent.
The PostScript name of the font to use for the drop cap. By default, the drop cap inherits the font of the component it’s in.
A number that indicates the characters to render in the drop cap style.
Of Raised Lines
The number of text lines this drop cap should raise. For example: When
5, the top of the drop cap is raised above the first line by 3 lines and and the bottom of the drop cap drops to the bottom of the second line.
A number thay sets the padding of the drop cap in points. When padding is applied, the drop cap is smaller than the box that surrounds it.
The color of the drop cap. The color defaults to the color of the associated text.
Drop object to define a drop cap that can be used by a ComponentTextStyle object. Drop caps can be applied to the first paragraph of the following components: