Skip to content

IPicture

Type interface

Sources

IPicture is an interface: it describes a shape of data and is not imported on its own.

Inheritance

IPicture extends IDisplayObject.

IPicture is not extended by any other symbol.

Properties

height

Type number | undefined

image

Type HTMLImageElement | undefined

shadowBlur

Type undefined | number

shadowColor

Type Color

shadowOffsetX

Type undefined | number

shadowOffsetY

Type undefined | number

shadowOpacity

Type undefined | number

width

Type number | undefined

18 inherited items
alpha

Type numberInherited from IDisplayObject

angle

Type numberInherited from IDisplayObject

buttonMode

Type booleanInherited from IDisplayObject

cancelTouch

Type booleanInherited from IDisplayObject

crisp

Type booleanInherited from IDisplayObject

cursorOverStyle

Type undefined | stringInherited from IDisplayObject

exportable

Type undefined | false | trueInherited from IDisplayObject

filter

Type undefined | stringInherited from IDisplayObject

inactive

Type boolean | nullInherited from IDisplayObject

interactive

Type booleanInherited from IDisplayObject

isMeasured

Type booleanInherited from IDisplayObject

mask

Type IGraphics | nullInherited from IDisplayObject

pivot

Type IPointInherited from IDisplayObject

scale

Type numberInherited from IDisplayObject

visible

Type booleanInherited from IDisplayObject

wheelable

Type booleanInherited from IDisplayObject

x

Type numberInherited from IDisplayObject

y

Type numberInherited from IDisplayObject

Methods

12 inherited items
clear()

Returns voidInherited from IDisplayObject

getAdjustedBounds(bounds?: IBounds)

Returns IBoundsInherited from IDisplayObject

getCanvas()

Returns HTMLCanvasElementInherited from IDisplayObject

getLayer()

Returns ILayerInherited from IDisplayObject

getLocalBounds()

Returns IBoundsInherited from IDisplayObject

hovering()

Returns booleanInherited from IDisplayObject

invalidateBounds()

Returns voidInherited from IDisplayObject

markDirtyLayer(deep?: undefined | false | true)

Returns voidInherited from IDisplayObject

on(key: Key,
callback: (this: C, event: IRendererEvents[""]) => void,
context?: C
)

Returns IDisposerInherited from IDisplayObject

setLayer(order: number | undefined,
margin: IMargin | undefined
)

Returns voidInherited from IDisplayObject

toGlobal(point: IPoint)

Returns IPointInherited from IDisplayObject

toLocal(point: IPoint)

Returns IPointInherited from IDisplayObject