com.jblend.graphics.m2d
クラス RenderContext2D <Phase3>

java.lang.Object
  |
  +--com.jblend.graphics.m2d.RenderContext2D

public class RenderContext2D
extends java.lang.Object

2Dレンダラを設定、管理するクラスです。


コンストラクタの概要
RenderContext2D()
          2D レンダラのコンテキストを生成します。
 
メソッドの概要
 void setClipRect(int x, int y, int width, int height)
          スクリーンのクリップ領域を設定します。
 
クラス java.lang.Object から継承したメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

RenderContext2D

public RenderContext2D()
2D レンダラのコンテキストを生成します。

Graphics2D.setRenderContext() で、描画をおこなう前に 生成したインスタンスをグラフィックスコンテキストに登録してください。

メソッドの詳細

setClipRect

public void setClipRect(int x,
                        int y,
                        int width,
                        int height)
スクリーンのクリップ領域を設定します。
パラメータ:
x,y - クリップ領域の左上の位置
width,height - クリップ領域のサイズ
例外:
java.lang.IllegalArgumentException - サイズに負の値を指定した場合に発生する


Copyright 2003 Aplix Corporation. All rights reserved. Aplix Confidential and Restricted.