public class PtlEditTextItem
extends java.lang.Object
implements java.lang.AutoCloseable
修飾子とタイプ | フィールドと説明 |
---|---|
static int |
PAINT_FILL
ストロークします。
|
static int |
PAINT_INVISIBLE
ペイントフラグ。
|
static int |
PAINT_STROKE
ストロークも塗りつぶしも行いません。
|
コンストラクタと説明 |
---|
PtlEditTextItem()
コンストラクタ
|
PtlEditTextItem(PtlEditTextItem obj)
コピーコンストラクタ
alias copy
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
close()
終了処理。
|
PtlRect |
getBBox()
ページ座標系のBBoxを取得。
|
PtlRect |
getBBox(int index)
1文字毎のページ座標系のBBoxを取得。
|
PtlColor |
getFillColor()
塗りつぶしカラーを取得。
|
PtlFontInfo |
getFontInfo()
フォント情報を取得。
|
int |
getNumChars()
文字数取得。
|
int |
getPaintFlags()
ペイントフラグを取得。
|
PtlQuadPoint |
getQuadPoint()
ページ座標系のQuadPointを取得。
|
PtlQuadPoint |
getQuadPoint(int index)
1文字毎のページ座標系のQuadPointを取得。
|
PtlColor |
getStrokeColor()
ストロークカラーを取得。
|
java.lang.String |
getText()
テキストを取得。
|
java.lang.String |
getText(int index)
1文字毎のテキストを取得。
|
public static final int PAINT_INVISIBLE
public static final int PAINT_STROKE
public static final int PAINT_FILL
public PtlEditTextItem() throws PtlException
PtlException
- 例外public PtlEditTextItem(PtlEditTextItem obj) throws PtlException
obj
- コピー元オブジェクト。PtlException
- 例外public void close()
このオブジェクトが抱えているネイティブ側にあるリソースなどを廃棄して終了処理を行なう。
このオブジェクトを使い終わったら必ず呼ばなければならない。
close
インタフェース内 java.lang.AutoCloseable
public java.lang.String getText() throws PtlException
PtlException
- 例外public PtlFontInfo getFontInfo() throws PtlException
PtlException
- 例外public PtlRect getBBox() throws PtlException
PtlException
- 例外public PtlQuadPoint getQuadPoint() throws PtlException
PtlException
- 例外public int getPaintFlags() throws PtlException
PtlException
- 例外public PtlColor getStrokeColor() throws PtlException
PtlException
- 例外public PtlColor getFillColor() throws PtlException
PtlException
- 例外public int getNumChars() throws PtlException
PtlException
- 例外public java.lang.String getText(int index) throws PtlException
index
- TextItem内の文字のindexPtlException
- 例外public PtlRect getBBox(int index) throws PtlException
index
- TextItem内の文字のindexPtlException
- 例外public PtlQuadPoint getQuadPoint(int index) throws PtlException
index
- TextItem内の文字のindexPtlException
- 例外