
## PicFormatOption class

Represents picture format option

```javascript
class PicFormatOption;
```


## Constructors

| Constructor | Description |
| --- | --- |
| [constructor()](#constructor--)| Default Constructor. |

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [type](#type--)| FillPictureType | Gets or sets the picture fill type. |
| [scale](#scale--)| number | Gets or sets how many the picture stack and scale with. |
| [left](#left--)| number | Gets or sets the left offset for stretching picture. |
| [top](#top--)| number | Gets or sets the top offset for stretching picture. |
| [bottom](#bottom--)| number | Gets or sets the bottom offset for stretching picture. |
| [right](#right--)| number | Gets or sets the right offset for stretching picture. |

## Methods

| Method | Description |
| --- | --- |
| [getType()](#getType--)| <b>@deprecated.</b> Please use the 'type' property instead. Gets or sets the picture fill type. |
| [setType(FillPictureType)](#setType-fillpicturetype-)| <b>@deprecated.</b> Please use the 'type' property instead. Gets or sets the picture fill type. |
| [getScale()](#getScale--)| <b>@deprecated.</b> Please use the 'scale' property instead. Gets or sets how many the picture stack and scale with. |
| [setScale(number)](#setScale-number-)| <b>@deprecated.</b> Please use the 'scale' property instead. Gets or sets how many the picture stack and scale with. |
| [getLeft()](#getLeft--)| <b>@deprecated.</b> Please use the 'left' property instead. Gets or sets the left offset for stretching picture. |
| [setLeft(number)](#setLeft-number-)| <b>@deprecated.</b> Please use the 'left' property instead. Gets or sets the left offset for stretching picture. |
| [getTop()](#getTop--)| <b>@deprecated.</b> Please use the 'top' property instead. Gets or sets the top offset for stretching picture. |
| [setTop(number)](#setTop-number-)| <b>@deprecated.</b> Please use the 'top' property instead. Gets or sets the top offset for stretching picture. |
| [getBottom()](#getBottom--)| <b>@deprecated.</b> Please use the 'bottom' property instead. Gets or sets the bottom offset for stretching picture. |
| [setBottom(number)](#setBottom-number-)| <b>@deprecated.</b> Please use the 'bottom' property instead. Gets or sets the bottom offset for stretching picture. |
| [getRight()](#getRight--)| <b>@deprecated.</b> Please use the 'right' property instead. Gets or sets the right offset for stretching picture. |
| [setRight(number)](#setRight-number-)| <b>@deprecated.</b> Please use the 'right' property instead. Gets or sets the right offset for stretching picture. |
| [isNull()](#isNull--)| Checks whether the implementation object is null. |


### constructor() {#constructor--}

Default Constructor.

```javascript
constructor();
```


### type {#type--}

Gets or sets the picture fill type.

```javascript
type : FillPictureType;
```


### scale {#scale--}

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

```javascript
scale : number;
```


### left {#left--}

Gets or sets the left offset for stretching picture.

```javascript
left : number;
```


### top {#top--}

Gets or sets the top offset for stretching picture.

```javascript
top : number;
```


### bottom {#bottom--}

Gets or sets the bottom offset for stretching picture.

```javascript
bottom : number;
```


### right {#right--}

Gets or sets the right offset for stretching picture.

```javascript
right : number;
```


### getType() {#getType--}

<b>@deprecated.</b> Please use the 'type' property instead. Gets or sets the picture fill type.

```javascript
getType() : FillPictureType;
```


**Returns**

[FillPictureType](../fillpicturetype/)

### setType(FillPictureType) {#setType-fillpicturetype-}

<b>@deprecated.</b> Please use the 'type' property instead. Gets or sets the picture fill type.

```javascript
setType(value: FillPictureType) : void;
```

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [FillPictureType](../fillpicturetype/) | The value to set. |

### getScale() {#getScale--}

<b>@deprecated.</b> Please use the 'scale' property instead. Gets or sets how many the picture stack and scale with.

```javascript
getScale() : number;
```


### setScale(number) {#setScale-number-}

<b>@deprecated.</b> Please use the 'scale' property instead. Gets or sets how many the picture stack and scale with.

```javascript
setScale(value: number) : void;
```

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | number | The value to set. |

### getLeft() {#getLeft--}

<b>@deprecated.</b> Please use the 'left' property instead. Gets or sets the left offset for stretching picture.

```javascript
getLeft() : number;
```


### setLeft(number) {#setLeft-number-}

<b>@deprecated.</b> Please use the 'left' property instead. Gets or sets the left offset for stretching picture.

```javascript
setLeft(value: number) : void;
```

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | number | The value to set. |

### getTop() {#getTop--}

<b>@deprecated.</b> Please use the 'top' property instead. Gets or sets the top offset for stretching picture.

```javascript
getTop() : number;
```


### setTop(number) {#setTop-number-}

<b>@deprecated.</b> Please use the 'top' property instead. Gets or sets the top offset for stretching picture.

```javascript
setTop(value: number) : void;
```

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | number | The value to set. |

### getBottom() {#getBottom--}

<b>@deprecated.</b> Please use the 'bottom' property instead. Gets or sets the bottom offset for stretching picture.

```javascript
getBottom() : number;
```


### setBottom(number) {#setBottom-number-}

<b>@deprecated.</b> Please use the 'bottom' property instead. Gets or sets the bottom offset for stretching picture.

```javascript
setBottom(value: number) : void;
```

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | number | The value to set. |

### getRight() {#getRight--}

<b>@deprecated.</b> Please use the 'right' property instead. Gets or sets the right offset for stretching picture.

```javascript
getRight() : number;
```


### setRight(number) {#setRight-number-}

<b>@deprecated.</b> Please use the 'right' property instead. Gets or sets the right offset for stretching picture.

```javascript
setRight(value: number) : void;
```

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | number | The value to set. |

### isNull() {#isNull--}

Checks whether the implementation object is null.

```javascript
isNull() : boolean;
```



