Class ImageMetaData
Package: @aurigma/design-atoms-model
Constructors
(constructor)(rawData)
Constructs a new instance of the ImageMetaData class
Declaration
constructor(rawData?: string | Object);
Parameters
| Type | Name | Description |
|---|---|---|
| string | Object | rawData |
Properties
isUserImage
Declaration
isUserImage: boolean;
Property Value
| Type | Description |
|---|---|
| boolean |
isVector
Declaration
isVector: boolean;
Property Value
| Type | Description |
|---|---|
| boolean |
name
Declaration
name: string;
Property Value
| Type | Description |
|---|---|
| string |
origin
Declaration
origin: ImageItem.ImageSource.Origin;
Property Value
| Type | Description |
|---|---|
| Origin |
pageIndex
Declaration
pageIndex: number;
Property Value
| Type | Description |
|---|---|
| number |
size
Declaration
size: Size;
Property Value
| Type | Description |
|---|---|
| Size |
storageId
Declaration
storageId: string;
Property Value
| Type | Description |
|---|---|
| string |
Methods
clone()
Declaration
clone(): ImageMetaData;
Returns
| Type | Description |
|---|---|
| ImageMetaData |
equals(other)
Declaration
equals(other: ImageMetaData): boolean;
Parameters
| Type | Name | Description |
|---|---|---|
| ImageMetaData | other |
Returns
| Type | Description |
|---|---|
| boolean |
fromInterface(value, name)
Declaration
static fromInterface(value: ImageItem.ImageMetaData, name?: string): ImageMetaData;
Parameters
| Type | Name | Description |
|---|---|---|
| ImageMetaData | value | |
| string | name |
Returns
| Type | Description |
|---|---|
| ImageMetaData |