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.

Properties

PropertyTypeDescription
imageDataUint8ArrayGets and sets image data of the bullet.

Methods

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

getType()

Gets the type of the bullet’s value.

getType() : BulletType;

Returns

BulletType