class Celestine::Filter
inherits Celestine::Drawable
#
Included modules
Celestine::Modules::Animate
Celestine::Modules::Body
Constants#
BACKGROUND_ALPHA = "BackgroundAlpha"
#
"BackgroundAlpha"
Doesn't work for some reason :(
BACKGROUND_IMAGE = "BackgroundImage"
#
"BackgroundImage"
FILL_PAINT = "FillPaint"
#
"FillPaint"
SOURCE_ALPHA = "SourceAlpha"
#
"SourceAlpha"
SOURCE_GRAPHIC = "SourceGraphic"
#
"SourceGraphic"
STROKE_PAINT = "StrokePaint"
#
"StrokePaint"
TAG = "filter"
#
"filter"
Methods#
#blend(&block : Celestine::Filter::Blend -> Celestine::Filter::Blend)
#
(&block : Celestine::Filter::Blend -> Celestine::Filter::Blend)
Adds a Celestine::Filter::Blend
to the calling filter's inner elements.
#blur(&block : Celestine::Filter::Blur -> Celestine::Filter::Blur)
#
(&block : Celestine::Filter::Blur -> Celestine::Filter::Blur)
Adds a Celestine::Filter::Blur
to the calling filter's inner elements.
#color_matrix(&block : Celestine::Filter::ColorMatrix -> Celestine::Filter::ColorMatrix)
#
(&block : Celestine::Filter::ColorMatrix -> Celestine::Filter::ColorMatrix)
Adds a Celestine::Filter::ColorMatrix
to the calling filter's inner elements.
#component_transfer(&block : Celestine::Filter::ComponentTransfer -> Celestine::Filter::ComponentTransfer)
#
(&block : Celestine::Filter::ComponentTransfer -> Celestine::Filter::ComponentTransfer)
Adds a Celestine::Filter::ComponentTransfer
to the calling filter's inner elements.
#composite(&block : Celestine::Filter::Composite -> Celestine::Filter::Composite)
#
(&block : Celestine::Filter::Composite -> Celestine::Filter::Composite)
Adds a Celestine::Filter::Composite
to the calling filter's inner elements.
#displacement_map(&block : Celestine::Filter::DisplacementMap -> Celestine::Filter::DisplacementMap)
#
(&block : Celestine::Filter::DisplacementMap -> Celestine::Filter::DisplacementMap)
Adds a Celestine::Filter::DisplacementMap
to the calling filter's inner elements.
#draw(io : IO) : Nil
#
(io : IO) : Nil
Main draw method for a drawable. Takes in and interacts with an io.
#drop_shadow(&block : Celestine::Filter::DropShadow -> Celestine::Filter::DropShadow)
#
(&block : Celestine::Filter::DropShadow -> Celestine::Filter::DropShadow)
Adds a Celestine::Filter::DropShadow
to the calling filter's inner elements.
#flood(&block : Celestine::Filter::Flood -> Celestine::Filter::Flood)
#
(&block : Celestine::Filter::Flood -> Celestine::Filter::Flood)
Adds a Celestine::Filter::Flood
to the calling filter's inner elements.
#image(&block : Celestine::Filter::Image -> Celestine::Filter::Image)
#
(&block : Celestine::Filter::Image -> Celestine::Filter::Image)
Adds a Celestine::Filter::Image
to the calling filter's inner elements.
#merge(&block : Celestine::Filter::Merge -> Celestine::Filter::Merge)
#
(&block : Celestine::Filter::Merge -> Celestine::Filter::Merge)
Adds a Celestine::Filter::Merge
to the calling filter's inner elements.
#morphology(&block : Celestine::Filter::Morphology -> Celestine::Filter::Morphology)
#
(&block : Celestine::Filter::Morphology -> Celestine::Filter::Morphology)
Adds a Celestine::Filter::Morphology
to the calling filter's inner elements.
#offset(&block : Celestine::Filter::Offset -> Celestine::Filter::Offset)
#
(&block : Celestine::Filter::Offset -> Celestine::Filter::Offset)
Adds a Celestine::Filter::Offset
to the calling filter's inner elements.
#specular_lighting(&block : Celestine::Filter::SpecularLighting -> Celestine::Filter::SpecularLighting)
#
(&block : Celestine::Filter::SpecularLighting -> Celestine::Filter::SpecularLighting)
Adds a Celestine::Filter::SpecularLighting
to the calling filter's inner elements.
#tile(&block : Celestine::Filter::Tile -> Celestine::Filter::Tile)
#
(&block : Celestine::Filter::Tile -> Celestine::Filter::Tile)
Adds a Celestine::Filter::Tile
to the calling filter's inner elements.
#turbulence(&block : Celestine::Filter::Turbulence -> Celestine::Filter::Turbulence)
#
(&block : Celestine::Filter::Turbulence -> Celestine::Filter::Turbulence)
Adds a Celestine::Filter::Turbulence
to the calling filter's inner elements.
module Celestine::Filter::Attrs
#
Included modules
Celestine::Modules::Body::Attrs
Constants#
FILTER_UNITS = "filterUnits"
#
"filterUnits"
PRIMITIVE_UNITS = "primitiveUnits"
#
"primitiveUnits"