Skip to content

editor › Globals › IDrawParameters

Interface: IDrawParameters

Hierarchy

  • IDrawParameters

Index

Properties

Properties

Optional angle

• angle? : number

Defined in src/model/visualization/textures/drawables/Drawable.ts:15

angle in radians for rotation of engraving. If not defined, no rotation is applied


context

• context: CanvasRenderingContext2D

Defined in src/model/visualization/textures/drawables/Drawable.ts:5

Rendering context


dx

• dx: number

Defined in src/model/visualization/textures/drawables/Drawable.ts:7

the x position in the context, default is aligned at x = 0


dy

• dy: number

Defined in src/model/visualization/textures/drawables/Drawable.ts:9

the y position in the context, default is aligned at y = 0


height

• height: number

Defined in src/model/visualization/textures/drawables/Drawable.ts:13

the size (mm) in y direction


Optional mirrorX

• mirrorX? : boolean

Defined in src/model/visualization/textures/drawables/Drawable.ts:17

Renders the image mirrored in x direction (left <-> right). If not defined, no mirroring will take place


width

• width: number

Defined in src/model/visualization/textures/drawables/Drawable.ts:11

the size (mm) in x direction