Nutrient Web SDK
    Preparing search index...

    Type Alias TextAnnotationEditorState

    type TextAnnotationEditorState = {
        annotationId: ID;
        backgroundColor: TextAnnotationEditorValueState<NutrientViewer.Color>;
        fontColor: TextAnnotationEditorValueState<NutrientViewer.Color>;
        fontFamily: TextAnnotationEditorValueState<string>;
        fontSize: TextAnnotationEditorValueState<number>;
        marks: {
            bold: TextAnnotationEditorMarkState;
            italic: TextAnnotationEditorMarkState;
            underline: TextAnnotationEditorMarkState;
        };
        selection: TextAnnotationEditorSelection
        | null;
        selectionScope: TextAnnotationEditorSelectionScope;
    }
    Index

    Properties

    annotationId: ID
    fontFamily: TextAnnotationEditorValueState<string>
    marks: {
        bold: TextAnnotationEditorMarkState;
        italic: TextAnnotationEditorMarkState;
        underline: TextAnnotationEditorMarkState;
    }
    selection: TextAnnotationEditorSelection | null