Editor Scripting API
Lens Scripting API
Guide Docs
Preparing search index...
Editor Scripting
LensStudio:Ui
Pixmap
Class Pixmap
Hierarchy (
View Summary
)
ScriptObject
Pixmap
Index
Constructors
constructor
Properties
aspect
Ratio
Mode
height
transformation
Mode
width
Methods
crop
get
Type
Name
is
Of
Type
is
Same
load
resize
save
Constructors
constructor
new
Pixmap
(
filename
:
Path
)
:
Pixmap
Parameters
filename
:
Path
Returns
Pixmap
Properties
aspect
Ratio
Mode
aspectRatioMode
:
AspectRatioMode
height
height
:
number
transformation
Mode
transformationMode
:
TransformationMode
width
width
:
number
Methods
crop
crop
(
rect
:
Rect
)
:
void
Parameters
rect
:
Rect
Returns
void
get
Type
Name
getTypeName
()
:
string
Returns
string
is
Of
Type
isOfType
(
type
:
string
)
:
boolean
Parameters
type
:
string
Returns
boolean
is
Same
isSame
(
other
:
ScriptObject
)
:
boolean
Parameters
other
:
ScriptObject
Returns
boolean
load
load
(
filename
:
Path
)
:
void
Parameters
filename
:
Path
Returns
void
resize
resize
(
width
:
number
,
height
:
number
)
:
void
Parameters
width
:
number
height
:
number
Returns
void
save
save
(
filename
:
Path
)
:
void
Parameters
filename
:
Path
Returns
void
Settings
Member Visibility
Inherited
Private
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
aspect
Ratio
Mode
height
transformation
Mode
width
Methods
crop
get
Type
Name
is
Of
Type
is
Same
load
resize
save
Lens Scripting API
Guide Docs
Editor Scripting API
Loading...