image marker for rn
    Preparing search index...

    Interface TextStyle

    TextStyle for text watermark

    textStyle: {
    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 TextStyle {
        bold?: boolean;
        color?: string;
        fontName?: string;
        fontSize?: number;
        fontSizeRatio?: number;
        italic?: boolean;
        rotate?: number;
        shadowStyle?: ShadowLayerStyle | null;
        skewX?: number;
        strikeThrough?: boolean;
        textAlign?: "center" | "left" | "right";
        textBackgroundStyle?: TextBackgroundStyle | null;
        underline?: boolean;
    }
    Index

    Properties

    bold?: boolean

    text bold

    false
    
    bold: true
    
    color?: string

    font color

    color: '#aacc22'
    
    fontName?: string

    font name

    fontName: 'Arial'
    
    fontSize?: number

    font size used when rendering text onto the output image

    fontSize: 12
    
    fontSizeRatio?: number

    font size ratio relative to the background image width

    fontSizeRatio: 0.03
    
    italic?: boolean

    text italic

    false
    
    italic: true
    
    rotate?: number

    rotate text

    0
    
    rotate: 45
    
    shadowStyle?: ShadowLayerStyle | null

    text shadow style

    shadowStyle: {
    dx: 10,
    dy: 10,
    radius: 10,
    color: '#aacc22'
    }
    skewX?: number

    css italic with degree, you can use italic instead

    skewX: 45
    
    strikeThrough?: boolean

    text stroke

    false
    
    strikeThrough: true
    
    textAlign?: "center" | "left" | "right"

    text align

    'left'
    
    textAlign: 'left'
    
    textBackgroundStyle?: TextBackgroundStyle | null

    text background style

    textBackgroundStyle: {
    paddingX: 10,
    paddingY: 10,
    type: TextBackgroundType.stretchX,
    color: '#aacc22'
    }
    underline?: boolean

    text underline style

    false
    
    underline: true