Nutrient Web SDK
    Preparing search index...

    Type Alias ShapeAnnotationsNamespace

    type ShapeAnnotationsNamespace = {
        getColorPresets: () => {
            fillColor: { presets: ColorPreset[]; showColorPicker: boolean };
            strokeColor: { presets: ColorPreset[]; showColorPicker: boolean };
        };
    }
    Index

    Properties

    Properties

    getColorPresets: () => {
        fillColor: { presets: ColorPreset[]; showColorPicker: boolean };
        strokeColor: { presets: ColorPreset[]; showColorPicker: boolean };
    }

    Returns the resolved color presets for shape annotation stroke and fill colors, consulting the annotationToolbarColorPresets configuration callback when present. Transparent presets are included in fillColor (valid for shape fills) but excluded from strokeColor.