Class CIMMarkerPlacementInsidePolygon
Represents marker placement inside a polygon which defines how a polygon is filled with a pattern of markers.
public class CIMMarkerPlacementInsidePolygon : CIMMarkerFillPlacement
- Inheritance
-
CIMMarkerPlacementInsidePolygon
- Inherited Members
Constructors
CIMMarkerPlacementInsidePolygon()
public CIMMarkerPlacementInsidePolygon()
Properties
Clipping
Gets or sets the clipping option which specifies how markers should be clipped at the polygon boundary.
public PlacementClip Clipping { get; set; }
Property Value
GridAngle
Gets or sets the orientation angle that the markers are placed on within the polygon.
public double GridAngle { get; set; }
Property Value
GridType
Gets or sets the grid type which defines how markers are placed.
public PlacementGridType GridType { get; set; }
Property Value
OffsetX
Gets or sets the marker row offset horizontally.
public double OffsetX { get; set; }
Property Value
OffsetY
Gets or sets the marker row offset vertically.
public double OffsetY { get; set; }
Property Value
Randomness
Gets or sets the randomness of the pattern when markers are placed randomly in a polygon.
public double Randomness { get; set; }
Property Value
Seed
Gets or sets the starting value for generating a random pattern.
public int Seed { get; set; }
Property Value
ShiftOddRows
Gets or sets a value indicating whether every other row of markers should be shifted to create an offset grid.
public bool ShiftOddRows { get; set; }
Property Value
StepX
Gets or sets the distance between each marker on the X-axis of the grid.
public double StepX { get; set; }
Property Value
StepY
Gets or sets the distance between each marker on the Y-axis of the grid.
public double StepY { get; set; }
Property Value
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMMarkerPlacementInsidePolygon with a specified state from a JSON encoding.
public static CIMMarkerPlacementInsidePolygon FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMMarkerPlacementInsidePolygon state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMMarkerPlacementInsidePolygon and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.