public class ShadowType
extends java.lang.Object
Remarks:
ShadowType is not a simple attribute, but a preset that sets at once several attributes which form the shadow appearance.
Examples:
Shows how to work with a shadow formatting for the shape.
Document doc = new Document(getMyDir() + "Shape stroke pattern border.docx");
Shape shape = (Shape)doc.getChildNodes(NodeType.SHAPE, true).get(0);
if (shape.getShadowFormat().getVisible() && shape.getShadowFormat().getType() == ShadowType.SHADOW_2)
shape.getShadowFormat().setType(ShadowType.SHADOW_7);
if (shape.getShadowFormat().getType() == ShadowType.SHADOW_MIXED)
shape.getShadowFormat().clear();
| Modifier and Type | Field and Description |
|---|---|
static int |
length |
static int |
SHADOW_1
First shadow type.
|
static int |
SHADOW_10
Tenth shadow type.
|
static int |
SHADOW_11
Eleventh shadow type.
|
static int |
SHADOW_12
Twelfth shadow type.
|
static int |
SHADOW_13
Thirteenth shadow type.
|
static int |
SHADOW_14
Fourteenth shadow type.
|
static int |
SHADOW_15
Fifteenth shadow type.
|
static int |
SHADOW_16
Sixteenth shadow type.
|
static int |
SHADOW_17
Seventeenth shadow type.
|
static int |
SHADOW_18
Eighteenth shadow type.
|
static int |
SHADOW_19
Nineteenth shadow type.
|
static int |
SHADOW_2
Second shadow type.
|
static int |
SHADOW_20
Twentieth shadow type.
|
static int |
SHADOW_21
Twenty first shadow type.
|
static int |
SHADOW_22
Twenty second shadow type.
|
static int |
SHADOW_23
Twenty third shadow type.
|
static int |
SHADOW_24
Twenty forth shadow type.
|
static int |
SHADOW_25
Twenty fifth shadow type.
|
static int |
SHADOW_26
Twenty sixth shadow type.
|
static int |
SHADOW_27
Twenty seventh shadow type.
|
static int |
SHADOW_28
Twenty eighth shadow type.
|
static int |
SHADOW_29
Twenty ninth shadow type.
|
static int |
SHADOW_3
Third shadow type.
|
static int |
SHADOW_30
Thirtieth shadow type.
|
static int |
SHADOW_31
Thirty first shadow type.
|
static int |
SHADOW_32
Thirty second shadow type.
|
static int |
SHADOW_33
Thirty third shadow type.
|
static int |
SHADOW_34
Thirty forth shadow type.
|
static int |
SHADOW_35
Thirty fifth shadow type.
|
static int |
SHADOW_36
Thirty sixth shadow type.
|
static int |
SHADOW_37
Thirty seventh shadow type.
|
static int |
SHADOW_38
Thirty eighth shadow type.
|
static int |
SHADOW_39
Thirty ninth shadow type.
|
static int |
SHADOW_4
Fourth shadow type.
|
static int |
SHADOW_40
Fortieth shadow type.
|
static int |
SHADOW_41
Forty first shadow type.
|
static int |
SHADOW_42
Forty second shadow type.
|
static int |
SHADOW_43
Forty third shadow type.
|
static int |
SHADOW_5
Fifth shadow type.
|
static int |
SHADOW_6
Sixth shadow type.
|
static int |
SHADOW_7
Seventh shadow type.
|
static int |
SHADOW_8
Eighth shadow type.
|
static int |
SHADOW_9
Ninth shadow type.
|
static int |
SHADOW_MIXED
None of predefined shadow presets.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
fromName(java.lang.String shadowTypeName) |
static java.lang.String |
getName(int shadowType) |
static int[] |
getValues() |
static java.lang.String |
toString(int shadowType) |
public static int SHADOW_MIXED
public static int SHADOW_1
public static int SHADOW_10
public static int SHADOW_11
public static int SHADOW_12
public static int SHADOW_13
public static int SHADOW_14
public static int SHADOW_15
public static int SHADOW_16
public static int SHADOW_17
public static int SHADOW_18
public static int SHADOW_19
public static int SHADOW_2
public static int SHADOW_20
public static int SHADOW_21
public static int SHADOW_22
public static int SHADOW_23
public static int SHADOW_24
public static int SHADOW_25
public static int SHADOW_26
public static int SHADOW_27
public static int SHADOW_28
public static int SHADOW_29
public static int SHADOW_3
public static int SHADOW_30
public static int SHADOW_31
public static int SHADOW_32
public static int SHADOW_33
public static int SHADOW_34
public static int SHADOW_35
public static int SHADOW_36
public static int SHADOW_37
public static int SHADOW_38
public static int SHADOW_39
public static int SHADOW_4
public static int SHADOW_40
public static int SHADOW_41
public static int SHADOW_42
public static int SHADOW_43
public static int SHADOW_5
public static int SHADOW_6
public static int SHADOW_7
public static int SHADOW_8
public static int SHADOW_9
public static int length