| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final Drawable. | BUFFERED_IMAGE
Stores a reference (WEAK_REFERENCE) to the buffered image, if the rendering is based on a buffered image |
| public static final Drawable. | CACHE_IMAGE_SOURCE
A boolean value to instruct the bitmap image renderer to keep the original image bytes. |
| public static final Drawable. | CURRENT_SLIDE
The Common SL Draw API works sometimes cascading, but there are places where the current slide context need to be evaluated, e.g. when slide numbers are printed. |
| public static final Drawable. | DEFAULT_CHARSET
Sets the default charset to render text elements. |
| public static final Drawable. | DRAW_FACTORY
|
| public static final Drawable. | EMF_FORCE_HEADER_BOUNDS
A boolean value to force the usage of the bounding box, which is specified in the EMF header. |
| public static final Drawable. | FONT_FALLBACK
Key for a font fallback map of type |
| public static final Drawable. | FONT_HANDLER
Use this object to resolve unknown / missing fonts when rendering slides. |
| public static final Drawable. | FONT_MAP
Key for a font map of type |
| public static final Drawable. | GRADIENT_SHAPE
PathGradientPaint needs the shape to be set. |
| public static final Drawable. | |
| public static final Drawable. | GROUP_TRANSFORM
Key will be internally used to store affine transformation temporarily within group shapes |
| public static final Drawable. | |
| public static final Drawable. | IMAGE_RENDERER
Use a custom image renderer of an instance of |
| public static final Drawable. | PRESET_GEOMETRY_CACHE
Internal key for caching the preset geometries |
| public static final int | |
| public static final int | |
| public static final Drawable. | TEXT_RENDERING_MODE
how to render text:
|
| Modifier and Type | Method and Description |
|---|---|
| public void | applyTransform(Graphics2D
the graphics whose transform matrix will be modified graphics)Apply 2-D transforms before drawing this shape. |
| public void | |
| public void | drawContent(Graphics2D
the graphics to draw into graphics)draw any content within this shape (image, text, etc.). |
| BUFFERED_IMAGE | back to summary |
|---|---|
| public static final Drawable. Stores a reference (WEAK_REFERENCE) to the buffered image, if the rendering is based on a buffered image | |
| CACHE_IMAGE_SOURCE | back to summary |
|---|---|
| public static final Drawable. A boolean value to instruct the bitmap image renderer to keep the original image bytes.
Defaults to | |
| CURRENT_SLIDE | back to summary |
|---|---|
| public static final Drawable. The Common SL Draw API works sometimes cascading, but there are places where the current slide context need to be evaluated, e.g. when slide numbers are printed. In this situation we need to have a way to access the current slide | |
| DEFAULT_CHARSET | back to summary |
|---|---|
| public static final Drawable. Sets the default charset to render text elements.
Opposed to other windows libraries in POI this simply defaults to Windows-1252.
The rendering value is of type | |
| DRAW_FACTORY | back to summary |
|---|---|
| public static final Drawable.
| |
| EMF_FORCE_HEADER_BOUNDS | back to summary |
|---|---|
| public static final Drawable. A boolean value to force the usage of the bounding box, which is specified in the EMF header.
Defaults to This is a workaround switch, which might be removed in future releases, when the bounding box determination for the special cases is fixed. In most cases it's recommended to leave the default value. | |
| FONT_FALLBACK | back to summary |
|---|---|
| public static final Drawable. Key for a font fallback map of type | |
| FONT_HANDLER | back to summary |
|---|---|
| public static final Drawable. Use this object to resolve unknown / missing fonts when rendering slides.
The font handler must be of type
In case a | |
| FONT_MAP | back to summary |
|---|---|
| public static final Drawable. Key for a font map of type | |
| GRADIENT_SHAPE | back to summary |
|---|---|
| public static final Drawable. PathGradientPaint needs the shape to be set. It will be achieved through setting it in the rendering hints | |
| GRESTORE | back to summary |
|---|---|
| public static final Drawable. | |
| GROUP_TRANSFORM | back to summary |
|---|---|
| public static final Drawable. Key will be internally used to store affine transformation temporarily within group shapes | |
| GSAVE | back to summary |
|---|---|
| public static final Drawable. | |
| IMAGE_RENDERER | back to summary |
|---|---|
| public static final Drawable. Use a custom image renderer of an instance of | |
| PRESET_GEOMETRY_CACHE | back to summary |
|---|---|
| public static final Drawable. Internal key for caching the preset geometries | |
| TEXT_AS_CHARACTERS | back to summary |
|---|---|
| public static final int TEXT_AS_CHARACTERS draw text via | |
| TEXT_AS_SHAPES | back to summary |
|---|---|
| public static final int TEXT_AS_SHAPES draw text via | |
| TEXT_RENDERING_MODE | back to summary |
|---|---|
| public static final Drawable. how to render text:
| |
| applyTransform | back to summary |
|---|---|
| public void applyTransform(Graphics2D graphics) Apply 2-D transforms before drawing this shape. This includes rotation and flipping.
| |
| draw | back to summary |
|---|---|
| public void draw(Graphics2D graphics) Draw this shape into the supplied canvas
| |
| drawContent | back to summary |
|---|---|
| public void drawContent(Graphics2D graphics) draw any content within this shape (image, text, etc.).
| |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isCompatibleValue(Object
the val)Object to test for validityImplements abstract java. Returns true if the specified object is a valid value for this Key. |
| public String |
| DrawableHint | back to summary |
|---|---|
| protected DrawableHint(int id) | |
| isCompatibleValue | back to summary |
|---|---|
| public boolean isCompatibleValue(Object val) Implements abstract java. Doc from java. Returns true if the specified object is a valid value for this Key.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |