@jsfkit/types
    Preparing search index...

    Type Alias RelativePoint

    A point in an area, as fractions of the area's width (x) and height (y), where 0 is the left or top edge and 1 is the right or bottom edge. For a shape drawn on a chart, the area is the chart area.

    This is deliberately not Point, which is in EMUs.

    type RelativePoint = {
        x: number;
        y: number;
    }
    Index

    Properties

    x y

    Properties

    x: number

    Horizontal position, as a fraction of the area's width.

    y: number

    Vertical position, as a fraction of the area's height.