Module shadow_effect2d

Structs§

ACTUAL_OFFSET_PROPERTY
Reports the offset of the shadow from the object along the x and y axes in pixels. Kanzi calculates the offset from the values of the Shadow Distance and Shadow Angle properties or from the Override Shadow Offset, if it is set.
ANGLE_PROPERTY
Sets the direction of the shadow as an angle relative to the positive x axis. The default is 45 degrees. When you set the Override Shadow Offset property, this property has no effect.
BLEND_MODE_PROPERTY
Sets the blend mode to use for rendering the shadow.
BLUR_RADIUS_PROPERTY
Sets the softness of the shadow by defining the distance in pixels the shadow blur extends outward from an edge. For a shadow with sharp edges, set to 0. The default is 8 pixels.
COLOR_PROPERTY
Sets the color and alpha of the shadow.
DISTANCE_PROPERTY
Sets how far to move the shadow from the object in the direction set by the Shadow Angle property. The default is 10 pixels. When you set the Override Shadow Offset property, this property has no effect.
ENABLED_PROPERTY
Whether to apply this effect.
NodeEffect2D
Use node effects to apply post-processing effects to 2D nodes.
OVERRIDE_OFFSET_PROPERTY
Sets the offset of the shadow from the object along the x and y axes in pixels. When you set this property, the Shadow Angle and Shadow Distance properties have no effect. To disable the offset override, remove this property.
QUALITY_PROPERTY
Sets the visual quality of the shadow. Lower quality uses less computing and memory resources.
Resource
Represents the base class for all resources. This base class contains information related to the type of the resource and the loading status of the resource data. The actual resource data is specific to the sub-classes.
SHADOW_ONLY_PROPERTY
Whether to render only the shadow without the node contents.
ShadowEffect2D
Use ShadowEffect2D to apply drop- and inner-shadow post-processing effects to 2D nodes.
TYPE_PROPERTY
Sets the type of the shadow:

Enums§

Quality
Defines the visual quality levels of the shadow effect.
Type
Defines the types of the shadow effect.