PictureBulletValue
Contents
[
Hide
]PictureBulletValue class
Represents the value of the image bullet.
class PictureBulletValue extends BulletValue;
Constructors
Name | Description |
---|---|
constructor(BulletValue) | Constructs from a parent object convertible to this. |
constructor() | Default Constructor. |
Methods
Method | Description |
---|---|
getType() | Gets the type of the bullet’s value. |
getImageData() | Gets and sets image data of the bullet. |
setImageData(number[]) | Gets and sets image data of the bullet. |
isNull() | Checks whether the implementation object is null. |
constructor(BulletValue)
Constructs from a parent object convertible to this.
constructor(obj: BulletValue);
Parameters:
Parameter | Type | Description |
---|---|---|
obj | BulletValue | The parent object. |
constructor()
Default Constructor.
constructor();
getType()
Gets the type of the bullet’s value.
getType() : BulletType;
Returns
getImageData()
Gets and sets image data of the bullet.
getImageData() : number[];
Returns
number[]
setImageData(number[])
Gets and sets image data of the bullet.
setImageData(value: number[]) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number[] | The value to set. |
isNull()
Checks whether the implementation object is null.
isNull() : boolean;