PicFormatOption

PicFormatOption class

Represents picture format option

class PicFormatOption;

Constructors

NameDescription
constructor()Default Constructor.

Methods

MethodDescription
getType()Gets or sets the picture fill type.
setType(FillPictureType)Gets or sets the picture fill type.
getScale()Gets or sets how many the picture stack and scale with.
setScale(number)Gets or sets how many the picture stack and scale with.
getLeft()Gets or sets the left offset for stretching picture.
setLeft(number)Gets or sets the left offset for stretching picture.
getTop()Gets or sets the top offset for stretching picture.
setTop(number)Gets or sets the top offset for stretching picture.
getBottom()Gets or sets the bottom offset for stretching picture.
setBottom(number)Gets or sets the bottom offset for stretching picture.
getRight()Gets or sets the right offset for stretching picture.
setRight(number)Gets or sets the right offset for stretching picture.
isNull()Checks whether the implementation object is null.

constructor()

Default Constructor.

constructor();

getType()

Gets or sets the picture fill type.

getType() : FillPictureType;

Returns

FillPictureType

setType(FillPictureType)

Gets or sets the picture fill type.

setType(value: FillPictureType) : void;

Parameters:

ParameterTypeDescription
valueFillPictureTypeThe value to set.

getScale()

Gets or sets how many the picture stack and scale with.

getScale() : number;

setScale(number)

Gets or sets how many the picture stack and scale with.

setScale(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getLeft()

Gets or sets the left offset for stretching picture.

getLeft() : number;

setLeft(number)

Gets or sets the left offset for stretching picture.

setLeft(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getTop()

Gets or sets the top offset for stretching picture.

getTop() : number;

setTop(number)

Gets or sets the top offset for stretching picture.

setTop(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getBottom()

Gets or sets the bottom offset for stretching picture.

getBottom() : number;

setBottom(number)

Gets or sets the bottom offset for stretching picture.

setBottom(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getRight()

Gets or sets the right offset for stretching picture.

getRight() : number;

setRight(number)

Gets or sets the right offset for stretching picture.

setRight(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;