Class: GradientGlowFilter

GradientGlowFilter

Next2Dのフィルターと連動したGradientGlowFilterクラス
GradientGlowFilter class in conjunction with Next2D filters

new filter.GradientGlowFilter (object)

NameTypeDefaultDescription
objectobjectnulloptional

Extends

  • Filter

Members

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

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

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

adjustment ()object

カラー、アルファー、分布比率の配列の値をバリデーションを行い算出
Validated and calculated values for color, alpha, and distribution ratio arrays

Returns:
TypeDescription
object

createInstance ()window.next2d.filters.GradientGlowFilter

Next2DのGradientGlowFilterを生成
Generate Next2D GradientGlowFilter

Returns:
TypeDescription
window.next2d.filters.GradientGlowFilter

isSame (filter)boolean

指定されたフィルターと同一の設定がないか判定
Determine if there are any settings identical to the specified filter

NameTypeDescription
filterGradientGlowFilter
Returns:
TypeDescription
boolean

toObject ()object

クラス内の変数をObjectにして返す
Return variables in a class as Objects

Returns:
TypeDescription
object

toParamArray ()array

クラス内の変数を配列にして返す
Returns an array of variables in the class

Returns:
TypeDescription
array