Skip to content

class Celestine::Filter::DropShadow
inherits Celestine::Filter::Basic #

Adds a drop shadow behind the object

Constants#

TAG = "feDropShadow" #

Methods#

#draw(io : IO) : Nil #

Draws this blend filter to an IO

View source

#dx : IFNumber? #

How much to offset on the x-axis

#dx=(dx : IFNumber?) #

How much to offset on the x-axis

#dx_units : String? #

What kind of unit dx should use when rendering

#dx_units=(dx_units : String?) #

What kind of unit dx should use when rendering

#dy : IFNumber? #

How much to offset on the y-axis

#dy=(dy : IFNumber?) #

How much to offset on the y-axis

#dy_units : String? #

What kind of unit dy should use when rendering

#dy_units=(dy_units : String?) #

What kind of unit dy should use when rendering

#input : String? #

The input source

View source

#input=(input : String?) #

The input source

View source

#standard_deviation : IFNumber? #

The amount of bluring that should occur

#standard_deviation=(standard_deviation : IFNumber?) #

The amount of bluring that should occur

#standard_deviation_units : String? #

What kind of unit standard_deviation should use when rendering

#standard_deviation_units=(standard_deviation_units : String?) #

What kind of unit standard_deviation should use when rendering

module Celestine::Filter::DropShadow::Attrs #

Adds a drop shadow behind the object

Included modules

Celestine::Filter::Basic::Attrs

Constants#

COLOR = "flood-color" #

DX = "dx" #

DY = "dy" #

INPUT = "in" #

OPACITY = "flood-opacity" #

STANDARD_DEVIATION = "stdDeviation" #