Class: BevelFilter

BevelFilter

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

new filter.BevelFilter (object)

NameTypeDefaultDescription
objectobjectnulloptional

Extends

  • Filter

Members

angle number

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

Default Value:
  • 45

distance number

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

Default Value:
  • 4

highlightAlpha number

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

Default Value:
  • 1

highlightColor number

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

Default Value:
  • 0xffffff

knockout boolean

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

Default Value:
  • false

shadowAlpha number

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

Default Value:
  • 1

shadowColor number

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

Default Value:
  • 0

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

createInstance ()window.next2d.filters.BevelFilter

Next2DのBevelFilterを生成
Generate Next2D BevelFilter

Returns:
TypeDescription
window.next2d.filters.BevelFilter

isSame (filter)boolean

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

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