Class: GradientGlowFilter

GradientGlowFilter

GradientGlowFilter クラスを使用すると、表示オブジェクトにグラデーショングロー効果を適用できます。
グラデーショングローとは、制御可能なカラーグラデーションによるリアルな輝きです。
グラデーショングローは、オブジェクトの内側エッジや外側エッジの周囲、またはオブジェクトの上に適用できます。

The GradientGlowFilter class lets you apply a gradient glow effect to display objects.
A gradient glow is a realistic-looking glow with a color gradient that you can control.
You can apply a gradient glow around the inner or outer edge of an object or on top of an object.

new next2d.filters.GradientGlowFilter (distance, angle, colors, alphas, ratios, blur_x, blur_y, strength, quality, type, knockout)

NameTypeDefaultDescription
distancenumber4.0optional
anglenumber45optional
colorsarraynulloptional
alphasarraynulloptional
ratiosarraynulloptional
blur_xnumber4.0optional
blur_ynumber4.0optional
strengthnumber1optional
qualitynumber1optional
typestringBitmapFilterType.INNERoptional
knockoutbooleanfalseoptional

Extends

  • BitmapFilter

Members

next2d.filters.GradientGlowFilter.namespace staticconstant

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

Default Value:
  • next2d.filters.GradientGlowFilter

alphas array

カラー配列内の各色に対応するアルファ透明度の値の配列です。
An array of alpha transparency values
for the corresponding colors in the colors array.

Default Value:
  • null

angle number

シャドウの角度
The angle of the shadow.

Default Value:
  • 45

blurX number

水平方向のぼかし量。
The amount of horizontal blur.

Default Value:
  • 4

blurY number

垂直方向のぼかし量。
The amount of vertical blur.

Default Value:
  • 4

colors array

グラデーションで使用する RGB 16 進数カラー値の配列です。
An array of RGB hexadecimal color values to use in the gradient.

Default Value:
  • null

distance number

シャドウのオフセット距離です。
The offset distance for the shadow, in pixels.

Default Value:
  • 4

knockout boolean

オブジェクトにノックアウト効果を適用するかどうか
Specifies whether the object has a knockout effect.

Default Value:
  • false

namespace constant

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

Default Value:
  • next2d.filters.GradientGlowFilter

quality number

ぼかしの実行回数です。
The number of times to perform the blur.

Default Value:
  • 1

ratios array

カラー配列内の対応するカラーの色分布比率の配列です。
An array of color distribution ratios
for the corresponding colors in the colors array.

Default Value:
  • null

strength number

インプリントの強さまたは広がりです。
The strength of the imprint or spread.

Default Value:
  • 1

type string

オブジェクトでのベベルの配置
The placement of the bevel on the object.

Default Value:
  • BitmapFilterType.INNER

Methods

next2d.filters.GradientGlowFilter.toString ()string static

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

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

clone ()GradientGlowFilter

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

Returns:
TypeDescription
GradientGlowFilter

toString ()string

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

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