Class Stroke
Defines how strokes should be rendered.
Inheritance
System.Object
Stroke
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Unity.VectorGraphics
Syntax
public class Stroke
Properties
Color
The stroke color.
Declaration
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
Color |
HalfThickness
The stroke half-thickness.
Declaration
public float HalfThickness { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Pattern
The stroke pattern (dashes).
Declaration
public float[] Pattern { get; set; }
Property Value
Type | Description |
---|---|
System.Single[] |
Remarks
Even entries mark a fill and odd entries mark void
PatternOffset
An offset to where the pattern should start.
Declaration
public float PatternOffset { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
TippedCornerLimit
How far the tipped corners may extrude.
Declaration
public float TippedCornerLimit { get; set; }
Property Value
Type | Description |
---|---|
System.Single |