ShapedDashedLine

public struct ShapedDashedLine : Encodable

Undocumented

  • Sets the line color.

    Declaration

    Swift

    public var color: Color?
  • Sets the line width (in px).

    Declaration

    Swift

    public var width: Double?
  • Determines the line shape.

    The values correspond to step-wise line shapes.

    See more

    Declaration

    Swift

    public enum Shape : String, Encodable
  • Determines the line shape.

    The values correspond to step-wise line shapes.

    Declaration

    Swift

    public var shape: Shape?
  • Sets the style of the lines.

    Declaration

    Swift

    public var dash: Dash?
  • Creates ShapedDashedLine object with specified properties.

    Declaration

    Swift

    public init(color: Color? = nil, width: Double? = nil, shape: Shape? = nil, dash: Dash? = nil)

    Parameters

    color

    Sets the line color.

    width

    Sets the line width (in px).

    shape

    Determines the line shape.

    dash

    Sets the style of the lines.