PictureBulletValue

PictureBulletValue class

Represents the value of the image bullet.

class PictureBulletValue extends BulletValue;

Constructors

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

Properties

PropertyTypeDescription
imageDataUint8ArrayGets and sets image data of the bullet.

Methods

MethodDescription
getImageData()@deprecated. Please use the ‘imageData’ property instead. Gets and sets image data of the bullet.
setImageData(Uint8Array)@deprecated. Please use the ‘imageData’ property instead. Gets and sets image data of the bullet.
isNull()Checks whether the implementation object is null.
getType()Gets the type of the bullet’s value.

constructor(BulletValue)

Constructs from a parent object convertible to this.

constructor(obj: BulletValue);

Parameters:

ParameterTypeDescription
objBulletValueThe parent object.

constructor()

Default Constructor.

constructor();

imageData

Gets and sets image data of the bullet.

imageData : Uint8Array;

getImageData()

@deprecated. Please use the ‘imageData’ property instead. Gets and sets image data of the bullet.

getImageData() : Uint8Array;

setImageData(Uint8Array)

@deprecated. Please use the ‘imageData’ property instead. Gets and sets image data of the bullet.

setImageData(value: Uint8Array) : void;

Parameters:

ParameterTypeDescription
valuenumber[]The value to set.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;

getType()

Gets the type of the bullet’s value.

getType() : BulletType;

Returns

BulletType