ClippingPathSettings

クリッピングパス

プロパティ(parentとその逆)

Ver.プロパティR/O
[18][19][20][21] parent Image, EPS, WMF, PICT, PDF, ImportedPage
[18][19][20][21] eventListeners EventListeners
[18][19][20][21] events Events
[18][19][20][21] paths Paths

プロパティ

Ver.プロパティ名R/O説明
[18][19][20][21] alphaChannelPathNames Array( 文字列値 )アルファチャンネルのリスト
[18][19][20][21] appliedPathName 文字列値適用されるクリッピングパス名またはアルファチャンネル名
[18][19][20][21] clippingType ClippingPathType
ClippingPathType
Ver.プロパティ値/管理用文字説明
[18][19][20][21]ALPHA_CHANNEL1634756707
aphc
アルファチャンネル
[18][19][20][21]DETECT_EDGES1685349735
dteg
エッジの検出
[18][19][20][21]NONE1852796517
none
なし
[18][19][20][21]PHOTOSHOP_PATH1886613620
pspt
Photoshop パス
[18][19][20][21]USER_MODIFIED_PATH1970106484
umpt
(Read-only) ユーザによるパスの修正
[18][19][20][21] includeInsideEdges 真偽値If true, creates interior clipping paths within the surrounding clipping path. Note: Valid only when clipping type is alpha channel or detect edges.
[18][19][20][21] insetFrame 長さ値Shrinks the area enclosed by the clipping path by the specified amount. (Range depends on the unit. For points: -10000 to 10000; picas: -833p4 to 833p4; inches: -138.8889 to 138.8889; mm: -3527.778 to 3527.778; cm: -352.7778 to 352.7778; ciceros: -781c11.889 to 781c11.889)
[18][19][20][21] invertPath 真偽値If true, inverts the clipping path.
[18][19][20][21] isValid 真偽値オブジェクトが有効かどうか
[18][19][20][21] photoshopPathNames Array( 文字列値 )A list of the clipping paths stored in the graphic.
[18][19][20][21] properties Object
[18][19][20][21] restrictToFrame 真偽値If true, truncates the clipping path at the edge of the frame containing the graphic. Note: Valid only when clipping type is alpha channel or detect edges.
[18][19][20][21] threshold 数値The lowest value (darkest) pixel to allow in the image. All pixels in the image whose values are greater than (lighter than) the threshold value are clipped (obscured). (Range: 0 to 255) Note: Valid only when clipping type is detect edges or alpha channel.
[18][19][20][21] tolerance 数値Specifies how similar a pixel's intensity value can be to the threshold value before the pixel is obscured by the clipping path. (Range: 0 to 10) Note: Valid only when clipping type is detect edges or alpha channel.
[18][19][20][21] useHighResolutionImage 真偽値If true, uses the high-resolution version of the graphic to create the clipping path. If false, calculates the clipping path based on screen-display resolution. Note: Valid only when clipping type is detect edges.

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[18][19][20][21] addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] convertToFrame() PageItemフレームに変換
[18][19][20][21] getElements() Array( ClippingPathSettings )オブジェクト参照を返す
[18][19][20][21] removeEventListener(eventType, handler, [captures]) 真偽値EventListenerを削除
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] toSource() 文字列値ソースコードを表す文字列を返す
[18][19][20][21] toSpecifier() 文字列値Retrieves the object specifier.