PDFTool.NET  6.0
Public Member Functions | Protected Attributes | List of all members
PdfTkNet::PtlRect Class Reference

PDFの矩形座標を表現したクラスです。
矩形は左下(left,bottom)、右上(right,top)で表現されます。
座標の単位はmmで原点(0,0)は左下となりますので注意してください。 More...

#include <NetRect.h>

Inheritance diagram for PdfTkNet::PtlRect:
Inheritance graph
[legend]
Collaboration diagram for PdfTkNet::PtlRect:
Collaboration graph
[legend]

Public Member Functions

PdfTk::PtlRect * getNative ()
 
 PtlRect ()
 コンストラクタ More...
 
 PtlRect (float left, float bottom, float right, float top)
 コンストラクタ More...
 
 PtlRect (PtlRect^ obj)
 コピーコンストラクタ More...
 
 ‾PtlRect ()
 デストラクタ
 
 !PtlRect ()
 ファイナライザ。
 
PtlRect operator= (PtlRect^ obj)
 コピーオペレータ More...
 
float getLeft ()
 座標を取得:左 More...
 
void setLeft (float left)
 座標を設定:左 More...
 
float getBottom ()
 座標を取得:下 More...
 
void setBottom (float bottom)
 座標を設定:下 More...
 
float getRight ()
 座標を取得:右 More...
 
void setRight (float right)
 座標を設定:右 More...
 
float getTop ()
 座標を取得:上 More...
 
void setTop (float top)
 座標を設定:上 More...
 

Protected Attributes

PdfTk::PtlRect * m_native
 

Detailed Description

PDFの矩形座標を表現したクラスです。
矩形は左下(left,bottom)、右上(right,top)で表現されます。
座標の単位はmmで原点(0,0)は左下となりますので注意してください。

Constructor & Destructor Documentation

◆ PtlRect() [1/3]

PdfTkNet::PtlRect::PtlRect ( )

コンストラクタ

Exceptions
PtlException

◆ PtlRect() [2/3]

PdfTkNet::PtlRect::PtlRect ( float  left,
float  bottom,
float  right,
float  top 
)

コンストラクタ

座標の単位はmmで原点(0,0)は左下となりますので注意してください。

Parameters
left
bottom
right
top
Exceptions
PtlException

◆ PtlRect() [3/3]

PdfTkNet::PtlRect::PtlRect ( PtlRect obj)

コピーコンストラクタ

Parameters
objコピー元オブジェクト。
Exceptions
PtlException

Member Function Documentation

◆ getBottom()

float PdfTkNet::PtlRect::getBottom ( )

座標を取得:下

座標の単位はmmで原点(0,0)は左下となりますので注意してください。

Returns
下の値(単位はmm)
Exceptions
PtlException

◆ getLeft()

float PdfTkNet::PtlRect::getLeft ( )

座標を取得:左

座標の単位はmmで原点(0,0)は左下となりますので注意してください。

Returns
左の値(単位はmm)
Exceptions
PtlException

◆ getRight()

float PdfTkNet::PtlRect::getRight ( )

座標を取得:右

座標の単位はmmで原点(0,0)は左下となりますので注意してください。

Returns
右の値(単位はmm)
Exceptions
PtlException

◆ getTop()

float PdfTkNet::PtlRect::getTop ( )

座標を取得:上

座標の単位はmmで原点(0,0)は左下となりますので注意してください。

Returns
上の値(単位はmm)
Exceptions
PtlException

◆ operator=()

PtlRect PdfTkNet::PtlRect::operator= ( PtlRect obj)

コピーオペレータ

Parameters
objコピー元オブジェクト。

◆ setBottom()

void PdfTkNet::PtlRect::setBottom ( float  bottom)

座標を設定:下

座標の単位はmmで原点(0,0)は左下となりますので注意してください。

Parameters
bottom下の値(単位はmm)
Exceptions
PtlException

◆ setLeft()

void PdfTkNet::PtlRect::setLeft ( float  left)

座標を設定:左

座標の単位はmmで原点(0,0)は左下となりますので注意してください。

Parameters
left左の値(単位はmm)
Exceptions
PtlException

◆ setRight()

void PdfTkNet::PtlRect::setRight ( float  right)

座標を設定:右

座標の単位はmmで原点(0,0)は左下となりますので注意してください。

Parameters
right右の値(単位はmm)
Exceptions
PtlException

◆ setTop()

void PdfTkNet::PtlRect::setTop ( float  top)

座標を設定:上

座標の単位はmmで原点(0,0)は左下となりますので注意してください。

Parameters
top上の値(単位はmm)
Exceptions
PtlException