Class: ColorMatrixFilter

ColorMatrixFilter

ColorMatrixFilter クラスを使用すると、表示オブジェクトにぼかし効果を適用できます。
ぼかし効果は、イメージの細部をぼかします。ソフトフォーカスがかかっているように見えるぼかしから、
半透明ガラスを通してイメージを見るようにかすんで見えるガウスぼかしまで作成できます。
このフィルターの quality プロパティを低く設定すると、ソフトフォーカスがかかっているように見えるぼかしになります。
quality プロパティを高く設定すると、ガウスぼかしフィルターに似たものになります。

The ColorMatrixFilter class lets you apply a blur visual effect to display objects.
A blur effect softens the details of an image.
You can produce blurs that range from a softly unfocused look to a Gaussian blur,
a hazy appearance like viewing an image through semi-opaque glass.
When the quality property of this filter is set to low, the result is a softly unfocused look.
When the quality property is set to high, it approximates a Gaussian blur filter.

new next2d.filters.ColorMatrixFilter (matrix)

NameTypeDefaultDescription
matrixarraynulloptional

Extends

  • BitmapFilter

Members

next2d.filters.ColorMatrixFilter.namespace staticconstant

指定されたクラスの空間名を返します。
Returns the space name of the specified class.

Default Value:
  • next2d.filters.ColorMatrixFilter

matrix array

4×5 カラー変換用の20個のアイテムの配列
An array of 20 items for 4x5 color transform.

Default Value:
  • null

namespace constant

指定されたオブジェクトの空間名を返します。
Returns the space name of the specified object.

Default Value:
  • next2d.filters.ColorMatrixFilter

Methods

next2d.filters.ColorMatrixFilter.toString ()string static

指定されたクラスのストリングを返します。
Returns the string representation of the specified class.

Default Value:
  • [class ColorMatrixFilter]
Returns:
TypeDescription
string

clone ()ColorMatrixFilter

オブジェクトのコピーを返します。
Returns a copy of this filter object.

Returns:
TypeDescription
ColorMatrixFilter

toString ()string

指定されたオブジェクトのストリングを返します。
Returns the string representation of the specified object.

Default Value:
  • [object ColorMatrixFilter]
Returns:
TypeDescription
string