com.lowagie.text.rtf.graphic
public class RtfShapeProperty extends RtfAddableElement
Version: $Revision: 1.3 $
Field Summary | |
---|---|
String | name
The RtfShapeProperty name. |
static String | PROPERTY_ADJUST_VALUE
Property for defining the first adjust handle for shapes. |
static String | PROPERTY_FILL_COLOR
Property for defining the fill color of the shape. |
static String | PROPERTY_FLIP_H
Property for signalling a horizontal flip of the shape. |
static String | PROPERTY_FLIP_V
Property for signalling a vertical flip of the shape. |
static String | PROPERTY_GEO_BOTTOM
Property for defining the maximum vertical coordinate that is
visible. |
static String | PROPERTY_GEO_LEFT
Property for defining the minimum horizontal coordinate that is
visible. |
static String | PROPERTY_GEO_RIGHT
Property for defining the maximum horizontal coordinate that is
visible. |
static String | PROPERTY_GEO_TOP
Property for defining the minimum vertical coordinate that is
visible. |
static String | PROPERTY_LAYOUT_IN_CELL
Property for defining that the shape is in a table cell. |
static String | PROPERTY_LINE_COLOR
Property for defining the line color of the shape. |
static int | PROPERTY_TYPE_ARRAY
The stored value is either an int or a Point array. |
static int | PROPERTY_TYPE_BOOLEAN
The stored value is boolean. |
static int | PROPERTY_TYPE_COLOR
The stored value is a Color. |
static int | PROPERTY_TYPE_DOUBLE
The stored value is a double. |
static int | PROPERTY_TYPE_LONG
The stored value is a long. |
static String | PROPERTY_VERTICIES
Property for defining vertices in freeform shapes. |
int | type
The value type. |
Object | value
The RtfShapeProperty value. |
Constructor Summary | |
---|---|
RtfShapeProperty(String name, Object value)
Internaly used to create the RtfShape.
| |
RtfShapeProperty(String name, long value)
Constructs a RtfShapeProperty with a long value.
| |
RtfShapeProperty(String name, double value)
Constructs a RtfShapeProperty with a double value.
| |
RtfShapeProperty(String name, boolean value)
Constructs a RtfShapeProperty with a boolean value.
| |
RtfShapeProperty(String name, Color value)
Constructs a RtfShapeProperty with a Color value.
| |
RtfShapeProperty(String name, int[] value)
Constructs a RtfShapeProperty with an int array value.
| |
RtfShapeProperty(String name, Point[] value)
Constructs a RtfShapeProperty with a Point array value.
|
Method Summary | |
---|---|
String | getName()
Gets the name of this RtfShapeProperty.
|
byte[] | write()
Writes the property definition. |
Parameters: name The property name to use. value The property value to use.
Parameters: name The property name to use. value The long value to use.
Parameters: name The property name to use. value The double value to use.
Parameters: name The property name to use. value The boolean value to use.
Parameters: name The property name to use. value The Color value to use.
Parameters: name The property name to use. value The int array to use.
Parameters: name The property name to use. value The Point array to use.
Returns: The name of this RtfShapeProperty.