weasel API - v0.8.0
    Preparing search index...

    Interface RotationAffordanceOptions

    interface RotationAffordanceOptions {
        bandPx?: number;
        cursor?: string;
        paint?:
            | false
            | Stroke
            | { fill?: FillStyle; insetPx?: number; stroke?: Stroke }
            | null;
    }
    Index

    Properties

    bandPx?: number

    Minimum screen-space thickness of the rotate-zone band outside the selection AABB. The outer ellipse semi-axes are clamped to max(w/√2, w/2 + bandPx/scale) so the zone stays hoverable at any zoom and any selection size. Default 24.

    cursor?: string

    Cursor while hovering the ring. Defaults to 'grab'.

    paint?:
        | false
        | Stroke
        | { fill?: FillStyle; insetPx?: number; stroke?: Stroke }
        | null

    Paint for the ring. null / false = invisible. Default is a semi-transparent fill of the band, contracted by insetPx screen pixels on the outer edge so the visible band sits inside the hoverable zone with a clear margin. Pass a Stroke (or { fill, stroke, insetPx }) to override.