Size Class

Namespace: Stimulsoft.System.Drawing

Constructors

Constructor Description
constructor(number width, number height)  

constructor(width: number, height: number)

Parameters

  • width (number)
  • height (number)

Properties

Property Type Description
empty static Size  
isEmpty boolean  

Methods

Method Returns Description
convertFromXml static Size  
equals boolean  
getNamespace static string  
getTypeName static string  
multiply Size  
round Size  
swap Size  

Method Details

convertFromXml static

convertFromXml(text: string): Size

Parameters

  • text (string)

Returns Size


equals

equals(size: Size): boolean

Parameters

Returns boolean


getNamespace static

getNamespace(): string

Returns string


getTypeName static

getTypeName(): string

Returns string


multiply

multiply(multipleFactor: number): Size

Parameters

  • multipleFactor (number)

Returns Size


round

round(digits: any): Size

Parameters

  • digits (any)

Returns Size


swap

swap(): Size

Returns Size

Fields

Field Type Description
height any  
width any