Search
Preparing search index...
The search index is not available
Gridy
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
RadialGrid
Class RadialGrid
Hierarchy
RadialGrid
Implements
IGrid
<
RadialTile
|
Radial8Tile
>
Index
Constructors
constructor
Properties
angle
irregular
orientation
radius
scale
scaleY
startY
tile
Ctor
tile
Types
tiles
to
Point
to
Tile
x
y
Methods
bounds
center
path
position
tile
vertices
Constructors
constructor
new
Radial
Grid
(
scale
:
Float
, orientation
?:
boolean
, shape
?:
Shape
, x
?:
Integer
, y
?:
Integer
, tile
?:
ITileConstructible
<
RadialTile
|
Radial8Tile
>
, startY
?:
Integer
)
:
RadialGrid
Parameters
scale:
Float
Default value
orientation:
boolean
= false
Default value
shape:
Shape
= Shape.Even
Default value
x:
Integer
= 1
Default value
y:
Integer
= 1
Default value
tile:
ITileConstructible
<
RadialTile
|
Radial8Tile
>
= RadialTile
Default value
startY:
Integer
= 0
Returns
RadialGrid
Properties
angle
angle
:
Float
= -0
irregular
irregular
:
boolean
= true
orientation
orientation
:
boolean
radius
radius
:
Float
scale
scale
:
Float
scaleY
scaleY
:
Float
= -1
startY
startY
:
Integer
tile
Ctor
tile
Ctor
:
ITileConstructible
<
RadialTile
|
Radial8Tile
>
tile
Types
tile
Types
:
TileType
= TileType.Simple
tiles
tiles
:
RadialTile
[]
|
Radial8Tile
[]
to
Point
to
Point
:
function
Type declaration
(
tile
:
RadialTile
|
Radial8Tile
)
:
Position
Parameters
tile:
RadialTile
|
Radial8Tile
Returns
Position
to
Tile
to
Tile
:
function
Type declaration
(
point
:
Position
)
:
RadialTile
|
Radial8Tile
Parameters
point:
Position
Returns
RadialTile
|
Radial8Tile
x
x
:
Integer
y
y
:
Integer
Methods
bounds
bounds
(
)
:
Rectangle
Returns
Rectangle
center
center
(
tile
:
RadialTile
|
Radial8Tile
)
:
Float2
Parameters
tile:
RadialTile
|
Radial8Tile
Returns
Float2
path
path
(
tile
:
RadialTile
)
:
string
Parameters
tile:
RadialTile
Returns
string
position
position
(
p
:
Float2
)
:
RadialTile
|
Radial8Tile
Parameters
p:
Float2
Returns
RadialTile
|
Radial8Tile
tile
tile
(
x
:
number
, y
:
number
)
:
Radial8Tile
|
RadialTile
Parameters
x:
number
y:
number
Returns
Radial8Tile
|
RadialTile
vertices
vertices
(
orientation
?:
undefined
|
true
|
false
, scale
?:
Float
, tileType
?:
Integer
, tile
?:
AnyTile
)
:
Float2
[]
Parameters
Optional
orientation:
undefined
|
true
|
false
Optional
scale:
Float
Optional
tileType:
Integer
Optional
tile:
AnyTile
Returns
Float2
[]
Globals
Radial
Grid
constructor
angle
irregular
orientation
radius
scale
scaleY
startY
tile
Ctor
tile
Types
tiles
to
Point
to
Tile
x
y
bounds
center
path
position
tile
vertices