Package | Description |
---|---|
de.slothsoft.charts | |
de.slothsoft.charts.common | |
de.slothsoft.charts.internal | |
de.slothsoft.charts.linechart | |
de.slothsoft.charts.swing | |
de.slothsoft.charts.swt |
Modifier and Type | Method and Description |
---|---|
Area |
Chart.calculateGraphArea(double width,
double height)
Calculates the graph area by removing the
ChartPart s from the entire width
and height. |
Area |
GraphicContext.calculateTextSize(String text)
Calculates the size of the text.
|
Area |
Area.copy()
Creates a copy of this class.
|
Area |
Area.endX(double newEndX) |
Area |
Area.endY(double newEndY) |
Area |
PaintInstructions.getArea()
Returns the area to draw on.
|
default Area |
ChartPart.snipNecessarySpace(Area existingArea)
This method removes space from the existing area to make room for this part.
|
Area |
Area.startX(double newStartX) |
Area |
Area.startY(double newStartY) |
Area |
Area.unite(Area area)
Returns an area surrounding this area and the one coming in.
|
Modifier and Type | Method and Description |
---|---|
PaintInstructions |
PaintInstructions.area(Area newArea)
Sets the area to draw on.
|
void |
GraphicContext.clip(Area rect)
Restricts which area of the context can be used to drawn on.
|
default void |
GraphicContext.drawRectangle(Area rect)
Paints a outline of a rectangle.
|
abstract void |
TextAlignment.drawText(GraphicContext gc,
Area area,
String text) |
default void |
GraphicContext.fillRectangle(Area rect)
Paints a filled rectangle.
|
void |
PaintInstructions.setArea(Area area)
Sets the area to draw on.
|
default Area |
ChartPart.snipNecessarySpace(Area existingArea)
This method removes space from the existing area to make room for this part.
|
Area |
Area.unite(Area area)
Returns an area surrounding this area and the one coming in.
|
Constructor and Description |
---|
PaintInstructions(Area area)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
Area |
Border.snipNecessarySpace(Area existingArea) |
Area |
Title.snipNecessarySpace(Area existingArea) |
Modifier and Type | Method and Description |
---|---|
Area |
Border.snipNecessarySpace(Area existingArea) |
Area |
Title.snipNecessarySpace(Area existingArea) |
Modifier and Type | Method and Description |
---|---|
Area |
DelegatingGraphicContext.calculateTextSize(String text) |
Area |
LogGraphicContext.calculateTextSize(String text) |
Modifier and Type | Method and Description |
---|---|
void |
DelegatingGraphicContext.clip(Area rect) |
void |
LogGraphicContext.clip(Area rect) |
Modifier and Type | Method and Description |
---|---|
Area |
LineChart.calculateDisplayedArea()
Calculates the displayed area via
LineChart.getDisplayedArea() or the added lines. |
Area |
LineChart.getDisplayedArea()
Returns the displayed area of this chart, i.e.
|
Area |
FunctionLine.getPreferredArea()
Returns the area this line would like to display.
|
Modifier and Type | Method and Description |
---|---|
LineChart |
LineChart.displayedArea(Area newDisplayedArea)
Sets the displayed area of this chart, i.e.
|
FunctionLine |
FunctionLine.preferredArea(Area newPreferredArea)
Sets the area this line would like to display.
|
void |
LineChart.setDisplayedArea(Area displayedArea)
Sets the displayed area of this chart, i.e.
|
void |
FunctionLine.setPreferredArea(Area preferredArea)
Sets the area this line would like to display.
|
Modifier and Type | Method and Description |
---|---|
Area |
Graphics2DGraphicContext.calculateTextSize(String text) |
Modifier and Type | Method and Description |
---|---|
void |
Graphics2DGraphicContext.clip(Area rect) |
Modifier and Type | Method and Description |
---|---|
Area |
SwtGraphicContext.calculateTextSize(String text) |
Modifier and Type | Method and Description |
---|---|
void |
SwtGraphicContext.clip(Area rect) |
Copyright © 2020. All rights reserved.