JavaTM 2 Platform
Standard Ed. 5.0

java.awt.font
クラス TransformAttribute

java.lang.Object
  上位を拡張 java.awt.font.TransformAttribute
すべての実装されたインタフェース:
Serializable

public final class TransformAttribute
extends Object
implements Serializable

TransformAttribute クラスは、属性として使用しても安全な変換用の不変ラッパーを提供します。

関連項目:
直列化された形式

コンストラクタの概要
TransformAttribute(AffineTransform transform)
          指定された変換をラップします。
 
メソッドの概要
 AffineTransform getTransform()
          ラップされた変換のコピーを返します。
 boolean isIdentity()
          ラップされた変換が恒等変換である場合に true を返します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

TransformAttribute

public TransformAttribute(AffineTransform transform)
指定された変換をラップします。変換は複製され、複製に対する参照が保持されます。元の変換は変更されません。

パラメータ:
transform - ラップ対象の指定された AffineTransform
メソッドの詳細

getTransform

public AffineTransform getTransform()
ラップされた変換のコピーを返します。

戻り値:
この TransformAttribute のラップされた変換のコピーである AffineTransform

isIdentity

public boolean isIdentity()
ラップされた変換が恒等変換である場合に true を返します。

戻り値:
ラップされた変換が恒等変換である場合は true、そうでない場合は false
導入されたバージョン:
1.4

JavaTM 2 Platform
Standard Ed. 5.0

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java 2 SDK SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。