Loading...
Searching...
No Matches

Style parameters for a map object title. More...

Public Attributes

double fontSize
 Font size in pixels.
 
Color color
 Title fill color.
 
Color outlineColor
 Title outline (halo) color.
 
double outlineWidth
 Title outline (halo) width in pixels.
 
TitleAnchor anchor
 Title anchor relative to the placement point TitleAnchor.
 
bool visible
 Whether the title is visible.
 

Detailed Description

Style parameters for a map object title.

Used with MapObject setTitleWithStyle.

Definition at line 21 of file title_style.dart.

Member Data Documentation

◆ anchor

TitleAnchor TitleStyle.anchor

Title anchor relative to the placement point TitleAnchor.

Definition at line 49 of file title_style.dart.

◆ color

Color TitleStyle.color

Title fill color.

Definition at line 37 of file title_style.dart.

◆ fontSize

double TitleStyle.fontSize

Font size in pixels.

Dart code snippet:

TitleStyle titleStyle = TitleStyle(
fontSize: 14,
color: "#3366CC",
outlineColor: "#FFFFFF",
anchor: TitleAnchor.TOP,
visible: true,
);

Definition at line 33 of file title_style.dart.

◆ outlineColor

Color TitleStyle.outlineColor

Title outline (halo) color.

Definition at line 41 of file title_style.dart.

◆ outlineWidth

double TitleStyle.outlineWidth

Title outline (halo) width in pixels.

Definition at line 45 of file title_style.dart.

◆ visible

bool TitleStyle.visible

Whether the title is visible.

Definition at line 53 of file title_style.dart.


The documentation for this class was generated from the following file: