Skip to content

@fibbojs / 2d / FPolygonOptions

Interface: FPolygonOptions

Extends

Properties

addToScene?

optional addToScene: boolean

Inherited from

FComponentOptions.addToScene

Defined in

core/dist/index.d.ts:178


color?

optional color: number

Defined in

2d/src/polygons/FPolygon.ts:12


gradient?

optional gradient: GradientStep[]

Defined in

2d/src/polygons/FPolygon.ts:13


position?

optional position: object

x

x: number

y

y: number

Inherited from

FComponentOptions.position

Defined in

2d/src/core/FComponent.ts:16


rotation?

optional rotation: number

Inherited from

FComponentOptions.rotation

Defined in

2d/src/core/FComponent.ts:17


rotationDegree?

optional rotationDegree: number

Inherited from

FComponentOptions.rotationDegree

Defined in

2d/src/core/FComponent.ts:18


scale?

optional scale: object

x

x: number

y

y: number

Inherited from

FComponentOptions.scale

Defined in

2d/src/core/FComponent.ts:19