PolygonVisualizer Class
A visualizer that draws filled polygons.
NuGet/Assembly: Carmenta.Engine.5.16.2.nupkg (in the CECore assembly)
Syntax
public class PolygonVisualizer : Visualizer
Remarks
A PolygonVisualizer renders features as filled polygons. It can only be applied to polygon features, all other feature types are ignored. In addition to a PolygonVisualizer, you may want to use a LineVisualizer to draw the outlines of the polygons.
The visualizer has properties for setting the fill color and an optional fill pattern. These can be set indirectly from attributes of the feature being rendered.
![]() |
Inheritance Hierarchy
System.Object (not available in C#)
EngineObject
ResourceObject
Visualizer
PolygonVisualizer
Platforms
Windows, Linux, Android
PolygonVisualizer Members
The PolygonVisualizer type has the following members.
Constructors
Name | Description |
---|---|
PolygonVisualizer | Initializes a new instance of the PolygonVisualizer class. |
Properties
Name | Description |
---|---|
AntiAlias | Gets or sets a flag indicating if antialiasing should be used to remove aliasing artifacts by smoothing the pixels. |
AvoidableByLabels | Gets or sets a value that determines whether a LabelOrganizingLayer can avoid placing labels over the visualization. |
Color | Gets or sets the color used to draw the polygons. |
Condition | Gets or sets a condition that must evaluate to true if the visualizer shall be applied to a feature. Inherited from Visualizer |
IsDisposed | Gets a value that tells whether the current PolygonVisualizer has been disposed. Inherited from EngineObject |
LengthUnit | Gets or sets a value specifying how length values are interpreted. |
Name | Gets or sets the name of the PolygonVisualizer. Inherited from ResourceObject |
NativeHandle | Gets the native Carmenta Engine kernel object the current PolygonVisualizer represents. Inherited from EngineObject |
Pattern | Gets or sets a fill pattern. |
PatternHorizontalPadding | Gets or sets a value used to add padding between pattern symbols. |
PatternScale | Gets or sets a value used to scale the pattern symbol. |
PatternVerticalPadding | Gets or sets a value used to add padding between pattern symbols. |
PickingSupport | Gets or sets a value specifying how much information is maintained when the visualizer creates a PresentationObject for a feature. Inherited from Visualizer |
RenderingPriority | Get or sets how the visualization is prioritized. |
IUserProperties.UserProperties | Gets the AttributeSet that contains the user properties. Inherited from IUserProperties |
Methods
Name | Description |
---|---|
Clone | Creates a copy of an object. Inherited from EngineObject |
Dispose | Releases the reference to the native Carmenta Engine kernel instance the EngineObject represents. Inherited from EngineObject |
Draw | Draws a feature on a drawable. Inherited from Visualizer |
Equals | Determines whether this instance is equal to another. Inherited from EngineObject |
FindChildObject | Overloaded. Finds the child object with the specified name. Inherited from Visualizer |
GetChildObjects | Overloaded. Gets the child objects of the current object. Inherited from Visualizer |