PictureBulletValue

PictureBulletValue class

Represents the value of the image bullet.

class PictureBulletValue extends BulletValue;

Constructors

NameDescription
constructor(BulletValue)Constructs from a parent object convertible to this.
constructor()Default Constructor.

Methods

MethodDescription
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:

ParameterTypeDescription
objBulletValueThe parent object.

constructor()

Default Constructor.

constructor();

getType()

Gets the type of the bullet’s value.

getType() : BulletType;

Returns

BulletType

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:

ParameterTypeDescription
valuenumber[]The value to set.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;