algonim
    Preparing search index...

    Class LineAndFillBorderAbstract

    Common ancestor for borders that have a line and a fill style.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    line: Partial<LineStyle> | null = {}

    Style of the border's perimeter line.

    fill: DrawStyle | null = null

    Style of the border's interior area.

    Methods

    • Returns a point on the border in the given direction.

      The angle can be converted to a direction vector by taking cos(angle) and sin(angle) to be its x and y respectively.

      Parameters

      • contentSize: Size
      • angle: number

      Returns Point