Class DrawableStrokeDashArray
- Namespace
- ImageMagick
- Assembly
- Magick.NET-Q16-AnyCPU.dll
Specifies the pattern of dashes and gaps used to stroke paths. The stroke dash array represents an array of numbers that specify the lengths of alternating dashes and gaps in pixels. If an odd number of values is provided, then the list of values is repeated to yield an even number of values. To remove an existing dash array, pass a null dasharray. A typical stroke dash array might contain the members 5 3 2.
public sealed class DrawableStrokeDashArray : IDrawableStrokeDashArray, IDrawable
- Inheritance
-
DrawableStrokeDashArray
- Implements
-
IDrawableStrokeDashArrayIDrawable
- Inherited Members
Constructors
DrawableStrokeDashArray(IEnumerable<double>)
Initializes a new instance of the DrawableStrokeDashArray class.
public DrawableStrokeDashArray(IEnumerable<double> dash)
Parameters
dash
IEnumerable<double>An array containing the dash information.
DrawableStrokeDashArray(params double[])
Initializes a new instance of the DrawableStrokeDashArray class.
public DrawableStrokeDashArray(params double[] dash)
Parameters
dash
double[]An array containing the dash information.
Properties
Dash
Gets the dash array.
public IReadOnlyList<double> Dash { get; }