Skip to content

class Celestine::Filter
inherits Celestine::Drawable #

Included modules

Celestine::Modules::Animate Celestine::Modules::Body

Constants#

BACKGROUND_ALPHA = "BackgroundAlpha" #

Doesn't work for some reason :(

BACKGROUND_IMAGE = "BackgroundImage" #

FILL_PAINT = "FillPaint" #

SOURCE_ALPHA = "SourceAlpha" #

SOURCE_GRAPHIC = "SourceGraphic" #

STROKE_PAINT = "StrokePaint" #

TAG = "filter" #

Methods#

#blend(&block : Celestine::Filter::Blend -> Celestine::Filter::Blend) #

Adds a Celestine::Filter::Blend to the calling filter's inner elements.

View source

#blur(&block : Celestine::Filter::Blur -> Celestine::Filter::Blur) #

Adds a Celestine::Filter::Blur to the calling filter's inner elements.

View source

#color_matrix(&block : Celestine::Filter::ColorMatrix -> Celestine::Filter::ColorMatrix) #

Adds a Celestine::Filter::ColorMatrix to the calling filter's inner elements.

View source

#component_transfer(&block : Celestine::Filter::ComponentTransfer -> Celestine::Filter::ComponentTransfer) #

Adds a Celestine::Filter::ComponentTransfer to the calling filter's inner elements.

View source

#composite(&block : Celestine::Filter::Composite -> Celestine::Filter::Composite) #

Adds a Celestine::Filter::Composite to the calling filter's inner elements.

View source

#displacement_map(&block : Celestine::Filter::DisplacementMap -> Celestine::Filter::DisplacementMap) #

Adds a Celestine::Filter::DisplacementMap to the calling filter's inner elements.

View source

#draw(io : IO) : Nil #

Main draw method for a drawable. Takes in and interacts with an io.

View source

#drop_shadow(&block : Celestine::Filter::DropShadow -> Celestine::Filter::DropShadow) #

Adds a Celestine::Filter::DropShadow to the calling filter's inner elements.

View source

#filter_units : String? #

View source

#filter_units=(filter_units : String?) #

View source

#flood(&block : Celestine::Filter::Flood -> Celestine::Filter::Flood) #

Adds a Celestine::Filter::Flood to the calling filter's inner elements.

View source

#image(&block : Celestine::Filter::Image -> Celestine::Filter::Image) #

Adds a Celestine::Filter::Image to the calling filter's inner elements.

View source

#merge(&block : Celestine::Filter::Merge -> Celestine::Filter::Merge) #

Adds a Celestine::Filter::Merge to the calling filter's inner elements.

View source

#morphology(&block : Celestine::Filter::Morphology -> Celestine::Filter::Morphology) #

Adds a Celestine::Filter::Morphology to the calling filter's inner elements.

View source

#offset(&block : Celestine::Filter::Offset -> Celestine::Filter::Offset) #

Adds a Celestine::Filter::Offset to the calling filter's inner elements.

View source

#primitive_units : String? #

View source

#primitive_units=(primitive_units : String?) #

View source

#specular_lighting(&block : Celestine::Filter::SpecularLighting -> Celestine::Filter::SpecularLighting) #

Adds a Celestine::Filter::SpecularLighting to the calling filter's inner elements.

View source

#tile(&block : Celestine::Filter::Tile -> Celestine::Filter::Tile) #

Adds a Celestine::Filter::Tile to the calling filter's inner elements.

View source

#turbulence(&block : Celestine::Filter::Turbulence -> Celestine::Filter::Turbulence) #

Adds a Celestine::Filter::Turbulence to the calling filter's inner elements.

View source

module Celestine::Filter::Attrs #

Included modules

Celestine::Modules::Body::Attrs

Constants#

FILTER_UNITS = "filterUnits" #

PRIMITIVE_UNITS = "primitiveUnits" #