[]
DsPdfJS API / SolidBrush
Represents a solid brush.
new SolidBrush(
color):SolidBrush
Creates a solid brush with specified color.
The color of the brush.
SolidBrush
Brush.constructor
new SolidBrush(
om,color):SolidBrush
Creates a solid brush with specified color.
An object manager that controls the lifetime of the SolidBrush object.
The color of the brush.
SolidBrush
Brush.constructor
get color():
Color
Gets the color of the brush.
get id():
number
Gets the reference to the object.
number
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