@awayjs
graphics
Search
Preparing search index...
The search index is not available
Options
Show Inherited
Menu
Class TextureAtlas
Hierarchy
TextureAtlas
Index
Constructors
constructor
Properties
available
Colors
available
Gradients
available
Rows
bitmap
color
Texture
color_
position
color_
row
gradient
Texture
gradient_
row
Methods
draw_
color
draw_
gradient
fit_
color
fit_
gradient
get
Texture
For
Color
get
Texture
For
Gradient
Constructors
constructor
new
Texture
Atlas
(
)
:
TextureAtlas
Returns
TextureAtlas
Properties
available
Colors
available
Colors
:
number
available
Gradients
available
Gradients
:
number
available
Rows
available
Rows
:
number
bitmap
bitmap
:
BitmapImage2D
color
Texture
color
Texture
:
Single2DTexture
color_
position
color_
position
:
number
color_
row
color_
row
:
number
gradient
Texture
gradient
Texture
:
Single2DTexture
gradient_
row
gradient_
row
:
number
Methods
draw_
color
draw_
color
(
color
:
number
, alpha
?:
number
)
:
Point
Parameters
color:
number
Default value
alpha:
number
= 1
Returns
Point
draw_
gradient
draw_
gradient
(
gradient
:
GradientFillStyle
)
:
number
Parameters
gradient:
GradientFillStyle
Returns
number
fit_
color
fit_
color
(
)
:
boolean
Returns
boolean
fit_
gradient
fit_
gradient
(
)
:
boolean
Returns
boolean
Static
get
Texture
For
Color
get
Texture
For
Color
(
color
:
number
, alpha
:
any
)
:
any
Parameters
color:
number
alpha:
any
Returns
any
Static
get
Texture
For
Gradient
get
Texture
For
Gradient
(
gradient
:
GradientFillStyle
)
:
any
Parameters
gradient:
GradientFillStyle
Returns
any
Mapping
Mode
Animation
Node
Base
Basic
Material
Bitmap
Image2D
Bitmap
Image
Channel
Bitmap
Image
Cube
Bitmap
Image
Utils
Blend
Mode
Box
Filter
CPUCanvas
CPURendering
Context2D
Caps
Style
Default
Material
Manager
Draw
Mode
Elements
Base
Elements
Event
Elements
Type
Elements
Utils
External
Image2D
Gradient
Fill
Style
Gradient
Type
Graphics
Graphics
Factory
Fills
Graphics
Factory
Helper
Graphics
Factory
Strokes
Graphics
Fill
Style
Graphics
Path
Graphics
Path
Command
Graphics
Path
Winding
Graphics
Stroke
Style
Hit
Test
Cache
Image2D
Image2DParser
Image
Base
Image
Cube
Image
Cube
Parser
Image
Data
Image
Event
Image
Utils
Interpolation
Method
Joint
Style
Line
Elements
Line
Scale
Mode
Material
Base
Material
Event
Mipmap
Generator
Particle
Data
Picking
Collision
Pixel
Snapping
Polyphase
Kernel
Renderable
Event
Sampler2D
Sampler
Base
Sampler
Cube
Shape
Shape
Event
Single2DTexture
Single
Cube
Texture
Specular
Image2D
Spread
Method
Style
Style
Event
Texture
Atlas
Texture
Atlas
Parser
Texture
Atlas
Parser
State
Texture
Base
Traverser
Base
Triangle
Culling
Triangle
Elements
Video
Texture
IAnimation
Set
IAnimator
IContainer
Node
IEntity
IGraphics
Data
IImage
Canvas
IMaterial
INode
IRenderable
Generated using
TypeDoc