com.tensegrity.graphics.render
Class RenderUtilities
java.lang.Object
com.tensegrity.graphics.render.RenderUtilities
- public class RenderUtilities
- extends java.lang.Object
The RenderUtilities provides some basic functionalities used
within the render package.
- Version:
- $Id: RenderUtilities.java,v 1.73 2006/06/06 12:25:13 BurkhardWick Exp $
- Author:
- MichaelKegel
|
Method Summary |
static void |
drawText(java.lang.Object[] textdata,
Device device)
Draws the text defined through the text data given by
textdata onto the Device given by
device. |
static java.lang.Object[][] |
getMarkerData(RenderingData renderdata,
RenderingDataKey markerkey)
Returns the data of a MarkerFormat located in the
RenderingData given by renderdata. |
static java.lang.Object[] |
getPaintData(RenderingData renderdata)
Returns the data of a PaintFormat located in the
RenderingData given by renderdata. |
static java.lang.Object[] |
getStrokeData(RenderingData renderdata)
Returns the data of a StrokeFormat located in the
RenderingData given by renderdata. |
static java.lang.Object[] |
getTextData(RenderingData renderdata)
Returns the data for text located in the RenderingData given
by renderdata. |
static void |
internalDrawObjectUnitText(java.lang.Object[] textdata,
Device device)
Draws the text defined through the text data given by
textdata onto the Device given by
device. |
static void |
internalDrawPointUnitText(java.lang.Object[] textdata,
Device device)
Draws the text defined through the text data given by
textdata onto the Device given by
device. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getStrokeData
public static java.lang.Object[] getStrokeData(RenderingData renderdata)
- Returns the data of a
StrokeFormat located in the
RenderingData given by renderdata. If no stroke
data is defined in the RenderingData null is
returned.
- Parameters:
renderdata - the RenderingData to return the stroke
data from
- Returns:
- Object[] the stroke data
getPaintData
public static java.lang.Object[] getPaintData(RenderingData renderdata)
- Returns the data of a
PaintFormat located in the
RenderingData given by renderdata. If no paint
data is defined in the RenderingData null is
returned.
- Parameters:
renderdata - the RenderingData to return the paint
data from
- Returns:
- Object[] the paint data
getMarkerData
public static java.lang.Object[][] getMarkerData(RenderingData renderdata,
RenderingDataKey markerkey)
- Returns the data of a
MarkerFormat located in the
RenderingData given by renderdata. If no marker
data is defined in the RenderingData null is
returned. The differentiation for the marker data at the begin of a line
or the marker data at the end of a line is done with the
RenderingDataKey given by markerkey.
- Parameters:
renderdata - the RenderingData to return the marker
data frommarkerkey - the key for the marker data
- Returns:
- Object[][] the marker data
getTextData
public static java.lang.Object[] getTextData(RenderingData renderdata)
- Returns the data for text located in the
RenderingData given
by renderdata. If no text is defined in the
RenderingData null is returned.
- Parameters:
renderdata - the RenderingData to return the text
data from
- Returns:
- Object[] the text data
drawText
public static void drawText(java.lang.Object[] textdata,
Device device)
- Draws the text defined through the text data given by
textdata onto the Device given by
device.
- Parameters:
textdata - the text data to drawdevice - the Device to draw onto
internalDrawObjectUnitText
public static void internalDrawObjectUnitText(java.lang.Object[] textdata,
Device device)
- Draws the text defined through the text data given by
textdata onto the Device given by
device.
- Parameters:
textdata - the text data to drawdevice - the Device to draw onto
internalDrawPointUnitText
public static void internalDrawPointUnitText(java.lang.Object[] textdata,
Device device)
- Draws the text defined through the text data given by
textdata onto the Device given by
device.
- Parameters:
textdata - the text data to drawdevice - the Device to draw onto
Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.