Skip to main content

Interface: TextProps

Table of contents​

Properties​

Properties​

text​

• text: string

Defined in​

types.ts:179


fontSize​

• Optional fontSize: number

Defined in​

types.ts:180


fontFamily​

• Optional fontFamily: string

Defined in​

types.ts:181


fill​

• Optional fill: string

Defined in​

types.ts:182


stroke​

• Optional stroke: string

Defined in​

types.ts:183


shadowColor​

• Optional shadowColor: string

Defined in​

types.ts:184


shadowOffset​

• Optional shadowOffset: number[]

Defined in​

types.ts:185


shadowBlur​

• Optional shadowBlur: number

Defined in​

types.ts:186


shadowOpacity​

• Optional shadowOpacity: number

Defined in​

types.ts:187


strokeWidth​

• Optional strokeWidth: number

Defined in​

types.ts:188


textAlign​

• Optional textAlign: TextAlign

Defined in​

types.ts:189


backgroundColor​

• Optional backgroundColor: string

Defined in​

types.ts:190


backgroundOpacity​

• Optional backgroundOpacity: number

Defined in​

types.ts:191


fontWeight​

• Optional fontWeight: number

Defined in​

types.ts:192


lineWidth​

• Optional lineWidth: number

Defined in​

types.ts:193


rotation​

• Optional rotation: number

Defined in​

types.ts:194


fontStyle​

• Optional fontStyle: string

Defined in​

types.ts:195