Class CIMHatchFill
Represents a hatch fill which fills polygonal geometry with a uniform series of parallel line symbols.
public class CIMHatchFill : CIMFill
- Inheritance
-
CIMHatchFill
- Inherited Members
Constructors
CIMHatchFill()
public CIMHatchFill()
Properties
LineSymbol
Gets or sets the line symbol that is used to draw the hatch lines in the fill.
public CIMLineSymbol LineSymbol { get; set; }
Property Value
OffsetX
Gets or sets how much to move the stroke to a new X-position.
public double OffsetX { get; set; }
Property Value
OffsetY
Gets or sets how much to move the stroke to a new Y-position.
public double OffsetY { get; set; }
Property Value
Rotation
Gets or sets the angle of rotation for all the strokes, in degrees.
public double Rotation { get; set; }
Property Value
Separation
Gets or sets the distance between the line symbols in the hatch pattern.
public double Separation { get; set; }
Property Value
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMHatchFill with a specified state from a JSON encoding.
public static CIMHatchFill FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMHatchFill state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMHatchFill and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.