Skip to content

class Celestine::Filter::ComponentTransfer
inherits Celestine::Filter::Basic #

Transfers color components

Constants#

TAG = "feComponentTransfer" #

Methods#

#draw(io : IO) : Nil #

Draws this component transfer filter to an IO

View source

#func_a_discrete(table_values : Array(IFNumber)) #

DSL call for feFuncA with discrete

View source

#func_a_gamma(amplitude : IFNumber, exponent : IFNumber, offset : IFNumber) #

DSL call for feFuncA with gamma

View source

#func_a_identity #

DSL call for feFuncA with identity

View source

#func_a_linear(slope : IFNumber, intercept : IFNumber) #

DSL call for feFuncA with linear

View source

#func_a_table(table_values : Array(IFNumber)) #

DSL call for feFuncA with table

View source

#func_b_discrete(table_values : Array(IFNumber)) #

DSL call for feFuncB with discrete

View source

#func_b_gamma(amplitude : IFNumber, exponent : IFNumber, offset : IFNumber) #

DSL call for feFuncB with gamma

View source

#func_b_identity #

DSL call for feFuncB with identity

View source

#func_b_linear(slope : IFNumber, intercept : IFNumber) #

DSL call for feFuncB with linear

View source

#func_b_table(table_values : Array(IFNumber)) #

DSL call for feFuncB with table

View source

#func_g_discrete(table_values : Array(IFNumber)) #

DSL call for feFuncG with discrete

View source

#func_g_gamma(amplitude : IFNumber, exponent : IFNumber, offset : IFNumber) #

DSL call for feFuncG with gamma

View source

#func_g_identity #

DSL call for feFuncG with identity

View source

#func_g_linear(slope : IFNumber, intercept : IFNumber) #

DSL call for feFuncG with linear

View source

#func_g_table(table_values : Array(IFNumber)) #

DSL call for feFuncG with table

View source

#func_r_discrete(table_values : Array(IFNumber)) #

DSL call for feFuncR with discrete

View source

#func_r_gamma(amplitude : IFNumber, exponent : IFNumber, offset : IFNumber) #

DSL call for feFuncR with gamma

View source

#func_r_identity #

DSL call for feFuncR with identity

View source

#func_r_linear(slope : IFNumber, intercept : IFNumber) #

DSL call for feFuncR with linear

View source

#func_r_table(table_values : Array(IFNumber)) #

DSL call for feFuncR with table

View source

#input : String? #

The input source

View source

#input=(input : String?) #

The input source

View source

module Celestine::Filter::ComponentTransfer::Attrs #

Transfers color components

Included modules

Celestine::Filter::Basic::Attrs

Constants#

INPUT = "in" #