algonim
    Preparing search index...

    Class EllipseBorder

    Simple, elliptical border.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    line: Partial<LineStyle> | null = {}

    Style of the border's perimeter line.

    fill: DrawStyle | null = null

    Style of the border's interior area.

    forceAspectRatio: number | null = null

    If not null, makes the ratio of width / height fixed. A value of 1 makes circles, for example.

    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