public class BlockParams extends java.lang.Object implements EntityBlockParams
Block
class.Constructor and Description |
---|
BlockParams()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getGenerateEntities()
Returns the flag that controls whether or not chart entities are
generated.
|
double |
getTranslateX()
Returns the translation required to convert local x-coordinates back to
the coordinate space of the container.
|
double |
getTranslateY()
Returns the translation required to convert local y-coordinates back to
the coordinate space of the container.
|
void |
setGenerateEntities(boolean generate)
Sets the flag that controls whether or not chart entities are generated.
|
void |
setTranslateX(double x)
Sets the translation required to convert local x-coordinates into the
coordinate space of the container.
|
void |
setTranslateY(double y)
Sets the translation required to convert local y-coordinates into the
coordinate space of the container.
|
public BlockParams()
public boolean getGenerateEntities()
getGenerateEntities
in interface EntityBlockParams
public void setGenerateEntities(boolean generate)
generate
- the flag.public double getTranslateX()
public void setTranslateX(double x)
x
- the x-translation amount.public double getTranslateY()
public void setTranslateY(double y)
y
- the y-translation amount.