FillSymbol class final
A fill symbol defines the appearance of features and graphics that are based on polygon geometries such as countries, provinces, or habitats.
FillSymbol is the base class for different symbols, such as SimpleFillSymbol and PictureFillSymbol. A FillSymbol can also be used in combination with a LineSymbol to add an outline to the fill symbol.
You can specify the symbology of a single graphic using Graphic.symbol. Alternatively, you can create a Renderer that contains a collection of symbols and rules. Each rule determines which symbol is applied to a graphic or feature depending on its attribute values. To symbolize graphics, apply a renderer to the GraphicsOverlay, and to symbolize features, apply the renderer to FeatureLayer.
- Inheritance
-
- Object
- ArcGISSymbol
- FillSymbol
- Implementers
Properties
- color ↔ Color
-
The interior color of the fill symbol.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- outline ↔ LineSymbol?
-
A line, with a specific color and width, to be applied to the fill symbol.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clone(
) → ArcGISSymbol -
Clones the ArcGISSymbol.
inherited
-
createSwatch(
{required double screenScale, double width = 0, double height = 0, Color backgroundColor = Colors.transparent}) → Future< ArcGISImage> -
Creates a swatch image using the provided width, height, screen scale, and
optional background color.
inherited
-
createSwatchWithGeometry(
{required double screenScale, required double width, required double height, required Geometry geometry, Color backgroundColor = Colors.transparent}) → Future< ArcGISImage> -
Creates a swatch image using the provided geometry, width, height, screen
scale, and optional background color.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Returns a JSON representation of this Object in the data type used by jsonDecode.
inherited
-
toJsonString(
) → String -
Returns a JSON representation of this Object as a String.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited