KmlPolygonStyle class final
Specifies the drawing style for all polygons, including polygon extrusions (which look like the walls of buildings) and line extrusions (which look like solid fences).
Controls how the <fill> of a KmlNode is displayed and whether or not the <outline> of a KmlNode is displayed. If the outline is displayed, the outline will use the current KmlLineStyle. Corresponds to a <PolyStyle> in a KML document.
- Inheritance
-
- Object
- KmlColorStyle
- KmlPolygonStyle
Constructors
- KmlPolygonStyle({Color fillColor = Colors.white})
-
Creates a KML polygon style with a specified fill color. Default is
RGBA(255,255,255,255).
factory
Properties
- color ↔ Color
-
The KMLColorStyle's color.
getter/setter pairinherited
- colorMode ↔ KmlColorMode
-
The KMLColorStyle's color mode.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFilled ↔ bool
-
Specifies whether or not to display the polygon with a filled symbol.
Default is true.
getter/setter pair
- isOutlined ↔ bool
-
Specifies whether or not to display the polygon with an outline symbol
using the current KmlLineStyle. Default is true.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited