PolyStyle class
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).
- Inheritance
-
- Object
- ColorStyle
- PolyStyle
Constructors
Properties
- color ↔ int?
-
Color and opacity (alpha) values are expressed in hexadecimal notation.
The range of values for any one color is 0 to 255 (00 to ff). For alpha,
00 is fully transparent and ff is fully opaque. The order of expression
is aabbggrr, where aa=alpha (00 to ff); bb=blue (00 to ff); gg=green
(00 to ff); rr=red (00 to ff). For example, if you want to apply a blue
color with 50 percent opacity to an overlay, you would specify the
following: , where alpha=0x7f, blue=0xff,
green=0x00, and red=0x00.
getter/setter pairinherited
- colorMode ↔ ColorMode?
-
Values for
getter/setter pairinherited
- fill ↔ bool?
-
Boolean value. Specifies whether to fill the polygon.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- outline ↔ bool?
-
Boolean value. Specifies whether to outline the polygon.
Polygon outlines use the current LineStyle.
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override