class Celestine::Filter::Composite

Overview

Composites two filter sources

Defined in:

effects/filters/composite.cr

Constant Summary

TAG = "feComposite"

Instance Method Summary

Instance methods inherited from class Celestine::Filter::Basic

filter_basic_attribute(io) filter_basic_attribute, result : String | Nil result, result=(result : String | Nil) result=

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 | Nil height, height=(height : IFNumber | Nil) height=, height_units : String | Nil height_units, height_units=(height_units : String | Nil) height_units=, width : IFNumber | Nil width, width=(width : IFNumber | Nil) width=, width_units : String | Nil width_units, width_units=(width_units : String | Nil) width_units=

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

position_attribute(io : IO) position_attribute, x : IFNumber | Nil x, x=(x : IFNumber | Nil) x=, x_units : String | Nil x_units, x_units=(x_units : String | Nil) x_units=, y : IFNumber | Nil y, y=(y : IFNumber | Nil) y=, y_units : String | Nil y_units, y_units=(y_units : String | Nil) 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 : Hash(String, String)) custom_attrs=, draw(io : IO) : Nil draw, id : String | Nil id, id=(id : String | Nil) id=, id_attribute(io : IO) id_attribute, inner_elements : IO::Memory inner_elements, inner_elements=(inner_elements : IO::Memory) inner_elements=, style : Hash(String, String) style, style=(style : Hash(String, String)) style=, style_attribute(io : IO) style_attribute

Instance Method Detail

def draw(io : IO) : Nil #

Draws this composite filter to an IO


[View source]
def input : String | Nil #

The first input source


[View source]
def input2 : String | Nil #

The second input source


[View source]
def input2=(input2 : String | Nil) #

The second input source


[View source]
def input=(input : String | Nil) #

The first input source


[View source]
def k1 : IFNumber | Nil #

Used with the arithmetic operation.

result = k1*i1*i2 + k2*i1 + k3*i2 + k4


[View source]
def k1=(k1 : IFNumber | Nil) #

Used with the arithmetic operation.

result = k1*i1*i2 + k2*i1 + k3*i2 + k4


[View source]
def k2 : IFNumber | Nil #

Used with the arithmetic operation.

result = k1*i1*i2 + k2*i1 + k3*i2 + k4


[View source]
def k2=(k2 : IFNumber | Nil) #

Used with the arithmetic operation.

result = k1*i1*i2 + k2*i1 + k3*i2 + k4


[View source]
def k3 : IFNumber | Nil #

Used with the arithmetic operation.

result = k1*i1*i2 + k2*i1 + k3*i2 + k4


[View source]
def k3=(k3 : IFNumber | Nil) #

Used with the arithmetic operation.

result = k1*i1*i2 + k2*i1 + k3*i2 + k4


[View source]
def k4 : IFNumber | Nil #

Used with the arithmetic operation.

result = k1*i1*i2 + k2*i1 + k3*i2 + k4


[View source]
def k4=(k4 : IFNumber | Nil) #

Used with the arithmetic operation.

result = k1*i1*i2 + k2*i1 + k3*i2 + k4


[View source]
def operator : String | Nil #

The operation to apply

  • Potential Values: over | in | out | atop | xor | lighter | arithmetic
  • Mozilla SVG Docs

[View source]
def operator=(operator : String | Nil) #

The operation to apply

  • Potential Values: over | in | out | atop | xor | lighter | arithmetic
  • Mozilla SVG Docs

[View source]