Skip to content

class Celestine::Filter::ColorMatrix
inherits Celestine::Filter::Basic #

Allows matrix operations on color values

Constants#

TAG = "feColorMatrix" #

Methods#

#draw(io : IO) : Nil #

Draws this color matrix filter to an IO

View source

#input : String? #

The input source

View source

#input=(input : String?) #

The input source

View source

#type : String? #

The type of operation

  • Potential Values: matrix | saturate | hueRotate | luminanceToAlpha
  • Mozilla SVG Docs
View source

#type=(type : String?) #

The type of operation

  • Potential Values: matrix | saturate | hueRotate | luminanceToAlpha
  • Mozilla SVG Docs
View source

#values : Array(IFNumber) #

The matrix values for the operation

View source

#values=(values : Array(IFNumber)) #

The matrix values for the operation

View source

module Celestine::Filter::ColorMatrix::Attrs #

Allows matrix operations on color values

Included modules

Celestine::Filter::Basic::Attrs

Constants#

INPUT = "in" #

TYPE = "type" #

VALUES = "values" #