class Celestine::Filter

Overview

https://www.smashingmagazine.com/2015/05/why-the-svg-filter-is-awesome/

Included Modules

Defined in:

Constant Summary

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"

Instance Method Summary

Instance methods inherited from module Celestine::Modules::Animate

animate(&block : Proc(Celestine::Animate, Nil)) animate

Instance methods inherited from module Celestine::Modules::Body

body_attribute(io) body_attribute, height : IFNumber? height, height=(height : IFNumber?) height=, height_units : String? height_units, height_units=(height_units : String?) height_units=, width : IFNumber? width, width=(width : IFNumber?) width=, width_units : String? width_units, width_units=(width_units : String?) width_units=

Instance methods inherited from module Celestine::Modules::Position

position_attribute(io : IO) position_attribute, x : IFNumber? x, x=(x : IFNumber?) x=, x_units : String? x_units, x_units=(x_units : String?) x_units=, y : IFNumber? y, y=(y : IFNumber?) y=, y_units : String? y_units, y_units=(y_units : String?) y_units=

Instance methods inherited from class Celestine::Drawable

class_attribute(io : IO) class_attribute, classes : Array(String) classes, classes=(classes : Array(String)) classes=, custom_attribute(io : IO) custom_attribute, custom_attrs : Hash(String, String) custom_attrs, custom_attrs=(custom_attrs) custom_attrs=, draw(io : IO) : Nil draw, id : String? id, id=(id : String?) id=, id_attribute(io : IO) id_attribute, inner_elements : IO::Memory inner_elements, inner_elements=(inner_elements) inner_elements=, style : Hash(String, String) style, style=(style) style=, style_attribute(io : IO) style_attribute

Instance Method Detail

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


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


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


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


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


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


def draw(io : IO) : Nil #
Description copied from class Celestine::Drawable

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


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


def filter_units : String? #

def filter_units=(filter_units : String?) #

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


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


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


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


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


def primitive_units : String? #

def primitive_units=(primitive_units : String?) #

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


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


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