6#ifndef PDFTK_PTL_TEXTBOX_H_
7#define PDFTK_PTL_TEXTBOX_H_
9#include "PtlParamString.h"
35 int getHandle()
const;
PDFの色を表現したクラスです。 すべての色クラスのベースクラスです。
Definition PtlColor.h:19
TextBoxに使うパラメータクラスです。 ベースクラスPtlParamWriteStringへの設定も忘れずに行ってください。
Definition PtlParamWriteStringTextBox.h:20
void setOpacity(float opacity)
不透明度を設定。
PtlTextBox & operator=(const PtlTextBox &obj)
コピーオペレータ
void writeNL(float size)
改行。
void fitToBBox(bool fit)
TextBoxのサイズをテキストのBBoxに合わせるかどうかの設定。
MODE
横書き/縦書き
Definition PtlTextBox.h:27
@ MODE_HORIZONTAL
横書き
Definition PtlTextBox.h:28
@ MODE_VERTICAL
縦書き
Definition PtlTextBox.h:29
void setOutlineColor(const PtlColor &outlineColor)
テキストボックスの縁取り色を設定。
void setBackColor(const PtlColor &bkColor)
背景色を設定。
void writeStringNL(const PtlParamString &str, const PtlParamWriteStringTextBox ¶mWriteString)
文字列を出力して改行。
PtlTextBox(const PtlTextBox &obj)
コピーコンストラクタ
void terminate()
テキストボックスを終了。
void writeString(const PtlParamString &str, const PtlParamWriteStringTextBox ¶mWriteString)
文字列を出力。
void setWritingMode(MODE mode)
横書き/縦書きを設定。
文字列を扱うクラスです。
Definition PtlParamString.h:27