[]
DsPdfJS API / ImageBrush
Represents an image brush.
new ImageBrush(
image):ImageBrush
Creates an image brush based on the Image object.
The Image object for the brush.
ImageBrush
Brush.constructor
new ImageBrush(
om,image):ImageBrush
Creates an image brush based on the Image object.
An object manager that controls the lifetime of the ImageBrush object.
The Image object for the brush.
ImageBrush
Brush.constructor
get id():
number
Gets the reference to the object.
number
get image():
ImageOrBitmap
Gets the image object of the brush.
get om():
ObjectManager
Gets the owner ObjectManager instance.
get type():
BrushType
Gets the type of the brush.
free():
void
Detaches the object from the ObjectManager and deallocates its memory, if possible.
void
rebind(
omTo):void
Rebinds the object from the current ObjectManager to the specified one.
The new ObjectManager for the object.
void