Class CIMSolidStroke
Represents a solid stroke which draws linear geometry with a single solid color.
public class CIMSolidStroke : CIMStroke
- Inheritance
-
CIMSolidStroke
- Inherited Members
Constructors
CIMSolidStroke()
public CIMSolidStroke()
Properties
Color
Gets or sets the color that is applied to the stroke.
public CIMColor Color { get; set; }
Property Value
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMSolidStroke with a specified state from a JSON encoding.
public static CIMSolidStroke FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMSolidStroke state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMSolidStroke and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.