OuterShadow

OuterShadow class

Represents an Outer Shadow effect.

equals

NameDescription
equals (Object)Determines whether the specified OuterShadow is equal to the current OuterShadow.

Parameters:

NameTypeDescription
objObjectThe OuterShadow to compare.

Returns: boolean


getBlurRadius

NameDescription
getBlurRadius ()Blur radius, in points. Default value - 0 pt. Read/write double.

Returns: double


getDirection

NameDescription
getDirection ()Direction of the shadow, in degrees. Default value - 0 ° (left-to-right). Read/write float.

Returns: float


getDistance

NameDescription
getDistance ()Distance of the shadow from the object, in points. Default value - 0 pt. Read/write double.

Returns: double


getEffective

NameDescription
getEffective ()Gets effective Outer Shadow effect data with the inheritance applied.

Returns: OuterShadowEffectiveData


getParent_IPresentationComponent

NameDescription
getParent_IPresentationComponent ()

getRectangleAlign

NameDescription
getRectangleAlign ()Rectangle alignment. Default value - RectangleAlignment#Bottom. Read/write RectangleAlignment.

Returns: byte


getRotateShadowWithShape

NameDescription
getRotateShadowWithShape ()Indicates whether the shadow rotates together with the shape. Default value - true. Read/write boolean.

Returns: boolean


getScaleHorizontal

NameDescription
getScaleHorizontal ()Horizontal scaling factor, in percent of the original size. Negative scaling causes a flip. Default value - 100 %. Read/write double.

Returns: double


getScaleVertical

NameDescription
getScaleVertical ()Vertical scaling factor, in percent of the original size. Negative scaling causes a flip. Default value - 100 %. Read/write double.

Returns: double


getShadowColor

NameDescription
getShadowColor ()Color of the shadow. Default value - automatic black (theme-dependent). Read-only IColorFormat.

Returns: ColorFormat


getSkewHorizontal

NameDescription
getSkewHorizontal ()Horizontal skew angle, in degrees. Default value - 0 °. Read/write double.

Returns: double


getSkewVertical

NameDescription
getSkewVertical ()Vertical skew angle, in degrees. Default value - 0 °. Read/write double.

Returns: double


getVersion

NameDescription
getVersion ()

Returns: long


hashCode

NameDescription
hashCode ()Serves as a hash function for a particular type.

Returns: int


setBlurRadius

NameDescription
setBlurRadius (double)Blur radius, in points. Default value - 0 pt. Read/write double.

setDirection

NameDescription
setDirection (float)Direction of the shadow, in degrees. Default value - 0 ° (left-to-right). Read/write float.

setDistance

NameDescription
setDistance (double)Distance of the shadow from the object, in points. Default value - 0 pt. Read/write double.

setRectangleAlign

NameDescription
setRectangleAlign (byte)Rectangle alignment. Default value - RectangleAlignment#Bottom. Read/write RectangleAlignment.

setRotateShadowWithShape

NameDescription
setRotateShadowWithShape (boolean)Indicates whether the shadow rotates together with the shape. Default value - true. Read/write boolean.

setScaleHorizontal

NameDescription
setScaleHorizontal (double)Horizontal scaling factor, in percent of the original size. Negative scaling causes a flip. Default value - 100 %. Read/write double.

setScaleVertical

NameDescription
setScaleVertical (double)Vertical scaling factor, in percent of the original size. Negative scaling causes a flip. Default value - 100 %. Read/write double.

setSkewHorizontal

NameDescription
setSkewHorizontal (double)Horizontal skew angle, in degrees. Default value - 0 °. Read/write double.

setSkewVertical

NameDescription
setSkewVertical (double)Vertical skew angle, in degrees. Default value - 0 °. Read/write double.