class Celestine::Filter::ComponentTransfer

Overview

Transfers color components

Defined in:

effects/filters/component_transfer.cr

Constant Summary

TAG = "feComponentTransfer"

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 component transfer filter to an IO


[View source]

DSL call for feFuncA


[View source]
def func_a_discrete(table_values : Array(IFNumber)) #

DSL call for feFuncA with discrete


[View source]
def func_a_gamma(amplitude : IFNumber, exponent : IFNumber, offset : IFNumber) #

DSL call for feFuncA with gamma


[View source]
def func_a_identity #

DSL call for feFuncA with identity


[View source]
def func_a_linear(slope : IFNumber, intercept : IFNumber) #

DSL call for feFuncA with linear


[View source]
def func_a_table(table_values : Array(IFNumber)) #

DSL call for feFuncA with table


[View source]

DSL call for feFuncB


[View source]
def func_b_discrete(table_values : Array(IFNumber)) #

DSL call for feFuncB with discrete


[View source]
def func_b_gamma(amplitude : IFNumber, exponent : IFNumber, offset : IFNumber) #

DSL call for feFuncB with gamma


[View source]
def func_b_identity #

DSL call for feFuncB with identity


[View source]
def func_b_linear(slope : IFNumber, intercept : IFNumber) #

DSL call for feFuncB with linear


[View source]
def func_b_table(table_values : Array(IFNumber)) #

DSL call for feFuncB with table


[View source]

DSL call for feFuncG


[View source]
def func_g_discrete(table_values : Array(IFNumber)) #

DSL call for feFuncG with discrete


[View source]
def func_g_gamma(amplitude : IFNumber, exponent : IFNumber, offset : IFNumber) #

DSL call for feFuncG with gamma


[View source]
def func_g_identity #

DSL call for feFuncG with identity


[View source]
def func_g_linear(slope : IFNumber, intercept : IFNumber) #

DSL call for feFuncG with linear


[View source]
def func_g_table(table_values : Array(IFNumber)) #

DSL call for feFuncG with table


[View source]

DSL call for feFuncR


[View source]
def func_r_discrete(table_values : Array(IFNumber)) #

DSL call for feFuncR with discrete


[View source]
def func_r_gamma(amplitude : IFNumber, exponent : IFNumber, offset : IFNumber) #

DSL call for feFuncR with gamma


[View source]
def func_r_identity #

DSL call for feFuncR with identity


[View source]
def func_r_linear(slope : IFNumber, intercept : IFNumber) #

DSL call for feFuncR with linear


[View source]
def func_r_table(table_values : Array(IFNumber)) #

DSL call for feFuncR with table


[View source]
def input : String | Nil #

The input source


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

The input source


[View source]