public class MainGrid extends SvgFunction
Constructor and Description |
---|
MainGrid() |
Modifier and Type | Method and Description |
---|---|
double |
getStatisticWidth() |
Document |
makeDrawGrid(Document readDoc,
String id,
int x,
int y)
methode to generate a grid without text
|
Document |
makeDrawGrid(Document readDoc,
String id,
String text,
int x,
int y)
methode to generate a grid with text
|
void |
setBackgroundColour0(String newColour) |
void |
setBackgroundColour1(String newColour) |
void |
setFontFamily(String newValue) |
void |
setFontSize(double newValue) |
Document |
setGridStatistic(int x,
int y,
Document readDoc,
Map<String,String> myMap) |
void |
setHeightGrid(double newValue) |
void |
setHeightGridCell(double newValue) |
void |
setStrokeColour(String newColour) |
void |
setStrokeWidth(double newValue) |
void |
setWidthGrid(double newValue) |
void |
setWidthGridCell(double newValue) |
funcAddAttribute, funcCircle, funcEllipse, funcLine, funcLine, funcPath, funcPath, funcPolygon, funcPolyline, funcRect, funcText, funcText, rotation
public void setWidthGrid(double newValue)
public void setHeightGrid(double newValue)
public void setWidthGridCell(double newValue)
public void setHeightGridCell(double newValue)
public void setBackgroundColour0(String newColour)
public void setBackgroundColour1(String newColour)
public void setStrokeColour(String newColour)
public void setStrokeWidth(double newValue)
public void setFontSize(double newValue)
public void setFontFamily(String newValue)
public double getStatisticWidth()
public Document makeDrawGrid(Document readDoc, String id, int x, int y)
readDoc
- id
- identify the given objectx
- number of cells (horizontal)y
- number of cells (vertical)public Document makeDrawGrid(Document readDoc, String id, String text, int x, int y)
readDoc
- id
- identify the given objecttext
- text under the gridx
- number of cells (horizontal)y
- number of cells (vertical)Copyright © 2013. All Rights Reserved.