image marker for rn
    Preparing search index...

    Interface TextOptions

    Text options for text watermark

    text: 'hello world',
    positionOptions: {
    X: 10,
    Y: 10,
    // or
    // position: Position.center
    },
    style: {
    color: '#aacc22',
    fontName: 'Arial',
    fontSize: 12,
    shadowStyle: {
    dx: 10,
    dy: 10,
    radius: 10,
    color: '#aacc22'
    },
    textBackgroundStyle: {
    paddingX: 10,
    paddingY: 10,
    type: TextBackgroundType.stretchX,
    color: '#aacc22'
    },
    underline: true,
    skewX: 45,
    strikeThrough: true,
    textAlign: 'left',
    italic: true,
    bold: true,
    rotate: 45
    }
    interface TextOptions {
        position?: PositionOptions;
        positionOptions?: PositionOptions;
        style?: TextStyle;
        text: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    position?: PositionOptions

    text position options

    positionOptions: {
    X: 10,
    Y: 10,
    // or
    // position: Position.center
    }
    positionOptions?: PositionOptions

    since 1.2.4 use position instead text position options

    positionOptions: {
    X: 10,
    Y: 10,
    // or
    // position: Position.center
    }
    style?: TextStyle

    text style

    style: {
    color: '#aacc22',
    fontName: 'Arial',
    fontSize: 12,
    shadowStyle: {
    dx: 10,
    dy: 10,
    radius: 10,
    color: '#aacc22'
    },
    textBackgroundStyle: {
    paddingX: 10,
    paddingY: 10,
    type: TextBackgroundType.stretchX,
    color: '#aacc22'
    },
    underline: true,
    strikeThrough: true,
    textAlign: 'left',
    italic: true,
    // or
    // skewX: 45,
    bold: true,
    rotate: 45
    }
    text: string

    text content

    text: 'hello world'