@zeplin/extension-model
    Preparing search index...

    Class DashPattern

    An interface to represent dash pattern on a Border

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    cap?: string

    Cap type of the dash. Possible values are defined in DashPattern.CAP_TYPES

    dash?: number

    A positive integer that denotes the length of the dash.

    gap?: number

    A positive integer that denotes the length of the gap.

    Accessors

    • get CAP_TYPES(): Record<string, string>

      Returns Record<string, string>

    Methods

    • Creates a DashPattern instance from a JSON string

      Parameters

      • json: string

        JSON string representing a dash pattern

      Returns DashPattern

      A new DashPattern instance