geoview-core - v2.2.0
    Preparing search index...

    Type Alias StyleProps

    Drawing style properties for fill, stroke, icon, and text.

    type StyleProps = {
        fillColor: string;
        iconSize?: number;
        iconSrc?: string;
        strokeColor: string;
        strokeWidth: number;
        text?: string | string[];
        textBold?: boolean;
        textColor?: string;
        textFont?: string;
        textHaloColor?: string;
        textHaloWidth?: number;
        textItalic?: boolean;
        textRotation?: number;
        textSize?: number;
    }
    Index

    Properties

    fillColor: string

    The fill color (CSS color string).

    iconSize?: number

    Optional icon size in pixels.

    iconSrc?: string

    Optional icon source URL for point drawings.

    strokeColor: string

    The stroke color (CSS color string).

    strokeWidth: number

    The stroke width in pixels.

    text?: string | string[]

    Optional text content for text drawings.

    textBold?: boolean

    Optional flag for bold text.

    textColor?: string

    Optional text color (CSS color string).

    textFont?: string

    Optional text font family name.

    textHaloColor?: string

    Optional text halo color (CSS color string).

    textHaloWidth?: number

    Optional text halo width in pixels.

    textItalic?: boolean

    Optional flag for italic text.

    textRotation?: number

    Optional text rotation angle in degrees.

    textSize?: number

    Optional text size in pixels.