jp.co.melco.preserv.spatial
クラス psvPortrayalContext.AbstractMaskDrawer

java.lang.Object
  拡張jp.co.melco.preserv.spatial.psvPortrayalContext.AbstractMaskDrawer
直系の既知のサブクラス:
psvPortrayalContext.MaskDrawer, psvPortrayalContext.MaskDrawerAsDC
含まれているクラス:
psvPortrayalContext

protected abstract static class psvPortrayalContext.AbstractMaskDrawer
extends java.lang.Object

マスク領域を塗り潰すためのAPIを提供する抽象クラスです。

導入されたバージョン:
Ver.6.0
作成者:
PreSerV Development Team

コンストラクタの概要
protected psvPortrayalContext.AbstractMaskDrawer()
           
 
メソッドの概要
 void draw(psvPortrayalContext context, psvJPBasePointForDisplay position, java.awt.Shape region, boolean follow)
          指定された基準点に対する相対座標(WC座標)で指定される領域をマスク処理します。
protected abstract  void draw(jp.co.melco.preserv.psvScreen screen, java.awt.geom.PathIterator path)
          指定されたスクリーンに指定されたイテレータで構成されるマスク領域を描画します。
protected abstract  java.awt.geom.AffineTransform getTransformer(psvJPBasePointForDisplay position, jp.co.melco.preserv.psvScreen screen, boolean follow)
          対応するアフィン変換オブジェクトを取得します。
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

psvPortrayalContext.AbstractMaskDrawer

protected psvPortrayalContext.AbstractMaskDrawer()
メソッドの詳細

draw

public void draw(psvPortrayalContext context,
                 psvJPBasePointForDisplay position,
                 java.awt.Shape region,
                 boolean follow)
指定された基準点に対する相対座標(WC座標)で指定される領域をマスク処理します。
表示領域の回転に追随する場合はtrue、それ以外の場合はfalseを指定します。

パラメータ:
context - 描画コンテキスト
position - マスク領域の原点となる位置情報
region - マスク領域(WC座標)
follow - 表示領域の回転に追随する場合はtrue、それ以外の場合はfalse

draw

protected abstract void draw(jp.co.melco.preserv.psvScreen screen,
                             java.awt.geom.PathIterator path)
指定されたスクリーンに指定されたイテレータで構成されるマスク領域を描画します。

パラメータ:
screen - スクリーン
path - 線分のイテレータ

getTransformer

protected abstract java.awt.geom.AffineTransform getTransformer(psvJPBasePointForDisplay position,
                                                                jp.co.melco.preserv.psvScreen screen,
                                                                boolean follow)
対応するアフィン変換オブジェクトを取得します。

パラメータ:
position - 基準位置
screen - スクリーン
follow - 表示領域の回転に追随する場合はtrue、それ以外の場合はfalse
戻り値:
対応するアフィン変換オブジェクト