public class MisoSceneMetrics extends Object
MisoScenePanel class, the values should not be modified
once the metrics are constructed.| Modifier and Type | Field and Description |
|---|---|
short |
blockhei
Dimensions of our scene blocks in tile count.
|
short |
blockwid
Dimensions of our scene blocks in tile count.
|
float |
fineBX
The y-intercept of the x-axis line within a tile.
|
int |
finegran
Number of fine coordinates on each axis within a tile.
|
int |
finehhei
Fine coordinate dimensions.
|
int |
finehwid
Fine coordinate dimensions.
|
float |
finelen
The length between fine coordinates in pixels.
|
float |
fineSlopeX
The slope of the x- and y-axis lines within a tile.
|
float |
fineSlopeY
The slope of the x- and y-axis lines within a tile.
|
float |
slopeX
The slope of the x- and y-axis lines.
|
float |
slopeY
The slope of the x- and y-axis lines.
|
int |
tilehei
Tile dimensions and half-dimensions in the view.
|
int |
tilehhei
Tile dimensions and half-dimensions in the view.
|
int |
tilehwid
Tile dimensions and half-dimensions in the view.
|
float |
tilelen
The length of a tile edge in pixels.
|
int |
tilewid
Tile dimensions and half-dimensions in the view.
|
| Constructor and Description |
|---|
MisoSceneMetrics(int tilewid,
int tilehei,
int finegran)
Constructs scene metrics by directly specifying the desired config
parameters.
|
public int tilewid
public int tilehei
public int tilehwid
public int tilehhei
public int finehwid
public int finehhei
public int finegran
public short blockwid
public short blockhei
public float tilelen
public float slopeX
public float slopeY
public float finelen
public float fineBX
public float fineSlopeX
public float fineSlopeY
public MisoSceneMetrics(int tilewid,
int tilehei,
int finegran)
tilewid - the width in pixels of the tiles.tilehei - the height in pixels of the tiles.finegran - the number of sub-tile divisions to use for fine
coordinates.Copyright © 2015. All rights reserved.