Class CIMVectorMarker
Represents a vector marker which can represent vector graphics. It's constructed from MarkerGraphics which are geometries and symbols used as building blocks for the marker.
public class CIMVectorMarker : CIMMarker
- Inheritance
-
CIMVectorMarker
- Inherited Members
Constructors
CIMVectorMarker()
public CIMVectorMarker()
Properties
ClippingPath
Gets or sets a clipping path for the vector marker graphics.
public CIMClippingPath ClippingPath { get; set; }
Property Value
Depth3D
Gets or sets the depth of the marker when drawn in 3D.
public double Depth3D { get; set; }
Property Value
Frame
Gets or sets the outer boundary of the entire vector marker.
public IEnvelope Frame { get; set; }
Property Value
MarkerGraphics
Gets or sets the vector graphics that define the shape of the marker.
public CIMMarkerGraphic[] MarkerGraphics { get; set; }
Property Value
RespectFrame
Gets or sets a value indicating whether the frame of the vector marker should be honored when drawing the marker.
public bool RespectFrame { get; set; }
Property Value
ScaleSymbolsProportionally
Gets or sets a value indicating whether the strokes and or fills of a marker are scaled proportionally when the symbol size is changed.
public bool ScaleSymbolsProportionally { get; set; }
Property Value
Remarks
When enabled, the strokes for the outline or fill of the polygon symbol used to draw the marker will be scaled proportionally with changes to the symbol size. If this property is not enabled, then the stroke will draw with the specified width regardless of the marker size.
VerticalOrientation3D
Gets or sets a value indicating whether the marker stands upright as though locked in place. The marker can be viewed from all angles.
public bool VerticalOrientation3D { get; set; }
Property Value
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMVectorMarker with a specified state from a JSON encoding.
public static CIMVectorMarker FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMVectorMarker state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMVectorMarker and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.