Class: DropShadowFilter

DropShadowFilter

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

new filter.DropShadowFilter (object)

NameTypeDefaultDescription
objectobjectnulloptional

Extends

  • Filter

Members

alpha number

アルファ透明度の値です。
The alpha transparency value for the color.

Default Value:
  • 1

angle number

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

Default Value:
  • 45

color number

グローのカラー
The color of the glow.

Default Value:
  • 4

distance number

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

Default Value:
  • 4

hideObject boolean

オブジェクトが非表示であるかどうかを示します。
Indicates whether or not the object is hidden.

Default Value:
  • true

inner boolean

グローが内側グローであるかどうか
Specifies whether the glow is an inner glow.

Default Value:
  • true

knockout boolean

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

Default Value:
  • true

strength number

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

Default Value:
  • 1

Methods

createInstance ()window.next2d.filters.DropShadowFilter

Next2DのDropShadowFilterを生成
Generate Next2D DropShadowFilter

Returns:
TypeDescription
window.next2d.filters.DropShadowFilter

isSame (filter)boolean

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

NameTypeDescription
filterDropShadowFilter
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