com.aspose.words
Class ShadowType

java.lang.Object
    extended by com.aspose.words.ShadowType

public class ShadowType 
extends java.lang.Object

Utility class containing constants. Specifies the type of a shape shadow. ShadowType is not a simple attribute, but a preset that sets at once several attributes which form the shadow appearance.

Example:

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();

Field Summary
static final intSHADOW_MIXED = -2
           None of predefined shadow presets.
static final intSHADOW_1 = 1
           First shadow type.
static final intSHADOW_10 = 10
           Tenth shadow type.
static final intSHADOW_11 = 11
           Eleventh shadow type.
static final intSHADOW_12 = 12
           Twelfth shadow type.
static final intSHADOW_13 = 13
           Thirteenth shadow type.
static final intSHADOW_14 = 14
           Fourteenth shadow type.
static final intSHADOW_15 = 15
           Fifteenth shadow type.
static final intSHADOW_16 = 16
           Sixteenth shadow type.
static final intSHADOW_17 = 17
           Seventeenth shadow type.
static final intSHADOW_18 = 18
           Eighteenth shadow type.
static final intSHADOW_19 = 19
           Nineteenth shadow type.
static final intSHADOW_2 = 2
           Second shadow type.
static final intSHADOW_20 = 20
           Twentieth shadow type.
static final intSHADOW_21 = 21
           Twenty first shadow type.
static final intSHADOW_22 = 22
           Twenty second shadow type.
static final intSHADOW_23 = 23
           Twenty third shadow type.
static final intSHADOW_24 = 24
           Twenty forth shadow type.
static final intSHADOW_25 = 25
           Twenty fifth shadow type.
static final intSHADOW_26 = 26
           Twenty sixth shadow type.
static final intSHADOW_27 = 27
           Twenty seventh shadow type.
static final intSHADOW_28 = 28
           Twenty eighth shadow type.
static final intSHADOW_29 = 29
           Twenty ninth shadow type.
static final intSHADOW_3 = 3
           Third shadow type.
static final intSHADOW_30 = 30
           Thirtieth shadow type.
static final intSHADOW_31 = 31
           Thirty first shadow type.
static final intSHADOW_32 = 32
           Thirty second shadow type.
static final intSHADOW_33 = 33
           Thirty third shadow type.
static final intSHADOW_34 = 34
           Thirty forth shadow type.
static final intSHADOW_35 = 35
           Thirty fifth shadow type.
static final intSHADOW_36 = 36
           Thirty sixth shadow type.
static final intSHADOW_37 = 37
           Thirty seventh shadow type.
static final intSHADOW_38 = 38
           Thirty eighth shadow type.
static final intSHADOW_39 = 39
           Thirty ninth shadow type.
static final intSHADOW_4 = 4
           Fourth shadow type.
static final intSHADOW_40 = 40
           Fortieth shadow type.
static final intSHADOW_41 = 41
           Forty first shadow type.
static final intSHADOW_42 = 42
           Forty second shadow type.
static final intSHADOW_43 = 43
           Forty third shadow type.
static final intSHADOW_5 = 5
           Fifth shadow type.
static final intSHADOW_6 = 6
           Sixth shadow type.
static final intSHADOW_7 = 7
           Seventh shadow type.
static final intSHADOW_8 = 8
           Eighth shadow type.
static final intSHADOW_9 = 9
           Ninth shadow type.
 

Field Detail

SHADOW_MIXED = -2

public static final int SHADOW_MIXED
None of predefined shadow presets.

SHADOW_1 = 1

public static final int SHADOW_1
First shadow type.

SHADOW_10 = 10

public static final int SHADOW_10
Tenth shadow type.

SHADOW_11 = 11

public static final int SHADOW_11
Eleventh shadow type.

SHADOW_12 = 12

public static final int SHADOW_12
Twelfth shadow type.

SHADOW_13 = 13

public static final int SHADOW_13
Thirteenth shadow type.

SHADOW_14 = 14

public static final int SHADOW_14
Fourteenth shadow type.

SHADOW_15 = 15

public static final int SHADOW_15
Fifteenth shadow type.

SHADOW_16 = 16

public static final int SHADOW_16
Sixteenth shadow type.

SHADOW_17 = 17

public static final int SHADOW_17
Seventeenth shadow type.

SHADOW_18 = 18

public static final int SHADOW_18
Eighteenth shadow type.

SHADOW_19 = 19

public static final int SHADOW_19
Nineteenth shadow type.

SHADOW_2 = 2

public static final int SHADOW_2
Second shadow type.

SHADOW_20 = 20

public static final int SHADOW_20
Twentieth shadow type.

SHADOW_21 = 21

public static final int SHADOW_21
Twenty first shadow type.

SHADOW_22 = 22

public static final int SHADOW_22
Twenty second shadow type.

SHADOW_23 = 23

public static final int SHADOW_23
Twenty third shadow type.

SHADOW_24 = 24

public static final int SHADOW_24
Twenty forth shadow type.

SHADOW_25 = 25

public static final int SHADOW_25
Twenty fifth shadow type.

SHADOW_26 = 26

public static final int SHADOW_26
Twenty sixth shadow type.

SHADOW_27 = 27

public static final int SHADOW_27
Twenty seventh shadow type.

SHADOW_28 = 28

public static final int SHADOW_28
Twenty eighth shadow type.

SHADOW_29 = 29

public static final int SHADOW_29
Twenty ninth shadow type.

SHADOW_3 = 3

public static final int SHADOW_3
Third shadow type.

SHADOW_30 = 30

public static final int SHADOW_30
Thirtieth shadow type.

SHADOW_31 = 31

public static final int SHADOW_31
Thirty first shadow type.

SHADOW_32 = 32

public static final int SHADOW_32
Thirty second shadow type.

SHADOW_33 = 33

public static final int SHADOW_33
Thirty third shadow type.

SHADOW_34 = 34

public static final int SHADOW_34
Thirty forth shadow type.

SHADOW_35 = 35

public static final int SHADOW_35
Thirty fifth shadow type.

SHADOW_36 = 36

public static final int SHADOW_36
Thirty sixth shadow type.

SHADOW_37 = 37

public static final int SHADOW_37
Thirty seventh shadow type.

SHADOW_38 = 38

public static final int SHADOW_38
Thirty eighth shadow type.

SHADOW_39 = 39

public static final int SHADOW_39
Thirty ninth shadow type.

SHADOW_4 = 4

public static final int SHADOW_4
Fourth shadow type.

SHADOW_40 = 40

public static final int SHADOW_40
Fortieth shadow type.

SHADOW_41 = 41

public static final int SHADOW_41
Forty first shadow type.

SHADOW_42 = 42

public static final int SHADOW_42
Forty second shadow type.

SHADOW_43 = 43

public static final int SHADOW_43
Forty third shadow type.

SHADOW_5 = 5

public static final int SHADOW_5
Fifth shadow type.

SHADOW_6 = 6

public static final int SHADOW_6
Sixth shadow type.

SHADOW_7 = 7

public static final int SHADOW_7
Seventh shadow type.

SHADOW_8 = 8

public static final int SHADOW_8
Eighth shadow type.

SHADOW_9 = 9

public static final int SHADOW_9
Ninth shadow type.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.