Module outline_effect2d

Structs§

BLEND_MODE_PROPERTY
Sets the blend mode to use for rendering the outline.
COLOR_PROPERTY
Sets the color of the outline.
CONTENT_GRADIENT_PROPERTY
Sets the gradient along which the content fades out:
CONTENT_MASK_PROPERTY
Sets the color that masks color components relevant to the outline calculation. The comparison value is the result of a dot product between the mask and the content RGBA color value. By default Kanzi calculates the outline only from the alpha value.
CONTENT_THRESHOLD_PROPERTY
Sets the threshold at which the value Kanzi calculates using the content mask is considered valid. When the value calculated from masking the content exceeds this value, that pixel is part of the outlined area.
ENABLED_PROPERTY
Whether to apply this effect.
INNER_SOFTNESS_PROPERTY
Sets the softness of the outline relative to its width inside the content area. For a sharp outline, set to 0. For a fade-in that takes the complete outline width to reach maximum value, set to 1. By default, this property uses the value of the Outline Softness property.
INNER_WIDTH_PROPERTY
Sets the width of the outline in pixels inside the content area. By default, this property uses the value of the Outline Width property.
INVERT_CONTENT_MASK_PROPERTY
Whether to invert the value that Kanzi calculates using content masking.
METHOD_PROPERTY
Sets the method for outline calculation:
NodeEffect2D
Use node effects to apply post-processing effects to 2D nodes.
OutlineEffect2D
Use OutlineEffect2D to apply an outline to the content of 2D nodes.
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.
SOFTNESS_PROPERTY
Sets the softness of the outline. For a sharp outline, set to 0. For a fade-in that takes the complete outline width to reach maximum value, set to 1. The default value is 0.27.
TEXTURE_OFFSET_PROPERTY
Sets the relative starting offset for sampling the outline texture. The default value is 0.0.
TEXTURE_PROPERTY
Sets the texture to apply to the outline. Kanzi applies to the outline only the top row of pixels from this texture. Set Outline Color to the color with which you want to modulate the colors in this texture.
TEXTURE_TILING_PROPERTY
Sets the number of times the texture wraps around within the outline area. To repeat a texture, set its Wrap Mode to Repeat. The default value is 1.0
WIDTH_PROPERTY
Sets the width of the outline in pixels outside the content area. The default value is 4 pixels.

Enums§

OutlineMethod
Specifies the available outline calculation methods.