クラスjava.awt.PageAttributes.ColorType
の使用
-
PageAttributes.ColorTypeを使用するパッケージ パッケージ 説明 java.awt ユーザー・インタフェースの作成およびグラフィックスとイメージのペイント用のすべてのクラスを含みます。 -
-
java.awtでのPageAttributes.ColorTypeの使用
PageAttributes.ColorTypeとして宣言されているjava.awtのフィールド 修飾子と型 フィールド 説明 static PageAttributes.ColorTypePageAttributes.ColorType. COLORカラー・プリントの指定に使用するColorTypeインスタンスstatic PageAttributes.ColorTypePageAttributes.ColorType. MONOCHROMEモノクロ・プリントの指定に使用するColorTypeインスタンスPageAttributes.ColorTypeを返すjava.awtのメソッド 修飾子と型 メソッド 説明 PageAttributes.ColorTypePageAttributes. getColor()これらの属性を使用するページをカラーで描画するかモノクロで描画するかを返します。PageAttributes.ColorType型のパラメータを持つjava.awtのメソッド 修飾子と型 メソッド 説明 voidPageAttributes. setColor(PageAttributes.ColorType color)これらの属性を使用するページをカラーで描画するかモノクロで描画するかを指定します。PageAttributes.ColorType型のパラメータを持つjava.awtのコンストラクタ コンストラクタ 説明 PageAttributes(PageAttributes.ColorType color, PageAttributes.MediaType media, PageAttributes.OrientationRequestedType orientationRequested, PageAttributes.OriginType origin, PageAttributes.PrintQualityType printQuality, int[] printerResolution)各属性に指定された値を持つPageAttributesインスタンスを生成します。
-