API / geotoolkit / attributes / TextStyle / TextStyle
attributes.TextStyle.TextStyle
Type Aliases
Type Aliases
Ƭ Font: Object
font in CSS or JSON format
| Name | Type | Description |
|---|---|---|
family? | string | font family |
size? | string | font size |
style? | string | font style |
weight? | string | font weight |
Ƭ Options: Options & { alignment?: AlignmentStyle ; autosize?: boolean ; background?: Type ; baseline?: BaseLineStyle ; fill?: FillStyle ; font?: string | Font | null ; fonturl?: string | ArrayBuffer ; lineheight?: string | number ; multiline?: boolean ; outline?: Type ; overflowwrap?: OverflowWrapStyle ; strikethrough?: Type ; textoverflow?: TextOverflowStyle ; underline?: Type ; underlineoffset?: string | number ; whitespace?: WhiteSpaceStyle ; wordbreak?: WordBreakStyle }
text color or a json object
Ƭ OptionsOut: OptionsOut & { alignment?: AlignmentStyle ; autosize?: boolean ; background?: FillStyle | null ; baseline?: BaseLineStyle ; fill?: FillStyle ; font?: null | string ; fonturl?: string | ArrayBuffer ; lineheight?: string | number ; multiline?: boolean ; outline?: LineStyle | null ; overflowwrap?: OverflowWrapStyle ; strikethrough?: LineStyle | null ; textoverflow?: TextOverflowStyle ; underline?: LineStyle | null ; underlineoffset?: string | number ; whitespace?: WhiteSpaceStyle ; wordbreak?: WordBreakStyle }
properties
Ƭ ProcessedFont: { fontfamily: string ; fontlineheight: string ; fontsize: string ; fontstyle: string ; fontweight: string } | null
Ƭ Type: TextStyle | Options | RgbaColor | HsvColor | HlsColor | string | null