Apply the bevel effect

BevelFilter

BevelFilter is a class that stores information about bevel effects. Objects can be generated by specifying the value of each property in the constructor arguments, or they can be generated by default with no arguments, and only properties that need to be changed can be reassigned.

  • distance

    The offset distance for the shadow, in pixels

  • angle

    The angle of the shadow

  • highlightColor

    The highlight color of the bevel

  • highlightAlpha

    The alpha transparency value of the highlight color

  • shadowColor

    The shadow color of the bevel

  • shadowAlpha

    The alpha transparency value of the shadow color

  • blurX

    The amount of horizontal blur

  • blurY

    The amount of vertical blur

  • strength

    The strength of the imprint or spread

  • quality

    The number of times to perform the blur

  • inner

    Bevel placement

  • knockout

    Specifies whether the object has a knockout effect

Example

ColorMatrixFilter