PDFTool  7.0
Public Member Functions | List of all members
PdfTk::PtlColorDeviceCMYK Class Reference

PDFのDeviceCMYK色を表現したクラスです。 More...

#include <PtlColorDeviceCMYK.h>

Inheritance diagram for PdfTk::PtlColorDeviceCMYK:
Inheritance graph
[legend]
Collaboration diagram for PdfTk::PtlColorDeviceCMYK:
Collaboration graph
[legend]

Public Member Functions

 PtlColorDeviceCMYK ()
 コンストラクタ More...
 
 PtlColorDeviceCMYK (float c, float m, float y, float k)
 コンストラクタ More...
 
 PtlColorDeviceCMYK (const PtlColorDeviceCMYK &obj)
 コピーコンストラクタ More...
 
 ‾PtlColorDeviceCMYK ()
 デストラクタ
 
PtlColorDeviceCMYKoperator= (const PtlColorDeviceCMYK &obj)
 コピーオペレータ More...
 
float getC () const
 シアンの値を取得。 More...
 
void setC (float c)
 シアンの値を設定。 More...
 
float getM () const
 マゼンタの値を取得。 More...
 
void setM (float m)
 マゼンタの値を設定。 More...
 
float getY () const
 黄の値を取得。 More...
 
void setY (float y)
 黄の値を設定。 More...
 
float getK () const
 色調の値を取得。 More...
 
void setK (float k)
 色調の値を設定。 More...
 
- Public Member Functions inherited from PdfTk::PtlColor
int getHandle () const
 
 PtlColor ()
 コンストラクタ More...
 
 PtlColor (COLOR_TYPE type)
 コンストラクタ More...
 
 PtlColor (const PtlColor &obj)
 コピーコンストラクタ More...
 
virtual ‾PtlColor ()
 デストラクタ
 
PtlColoroperator= (const PtlColor &obj)
 コピーオペレータ More...
 
COLOR_TYPE getType () const
 色タイプを取得。 More...
 
PtlColorSpace::COLOR_SPACE_TYPE getCSType () const
 カラースペースタイプを取得。 More...
 

Additional Inherited Members

- Public Types inherited from PdfTk::PtlColor
enum  COLOR_TYPE {
  TYPE_NONE = 0, TYPE_DEVICE_GRAY = 1, TYPE_DEVICE_RGB = 2, TYPE_DEVICE_CMYK = 3,
  TYPE_UNKNOWN = 100
}
 色のタイプ More...
 
- Protected Attributes inherited from PdfTk::PtlColor
int m_dataColor
 

Detailed Description

PDFのDeviceCMYK色を表現したクラスです。

Constructor & Destructor Documentation

◆ PtlColorDeviceCMYK() [1/3]

PdfTk::PtlColorDeviceCMYK::PtlColorDeviceCMYK ( )

コンストラクタ

Exceptions
PtlException

◆ PtlColorDeviceCMYK() [2/3]

PdfTk::PtlColorDeviceCMYK::PtlColorDeviceCMYK ( float  c,
float  m,
float  y,
float  k 
)

コンストラクタ

Parameters
cシアンの値。0.0から1.0までの値。0.0がシアンなし、1.0が最大のシアン。
mマゼンタの値。0.0から1.0までの値。0.0がマゼンタなし、1.0が最大のマゼンタ。
y黄の値。0.0から1.0までの値。0.0が黄なし、1.0が最大の黄。
k黒の値。0.0から1.0までの値。0.0が黒なし、1.0が最大の黒。
Exceptions
PtlException

◆ PtlColorDeviceCMYK() [3/3]

PdfTk::PtlColorDeviceCMYK::PtlColorDeviceCMYK ( const PtlColorDeviceCMYK obj)

コピーコンストラクタ

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

Member Function Documentation

◆ getC()

float PdfTk::PtlColorDeviceCMYK::getC ( ) const

シアンの値を取得。

0.0から1.0までの値。0.0がシアンなし、1.0が最大のシアン。

Returns
シアンの値
Exceptions
PtlException

◆ getK()

float PdfTk::PtlColorDeviceCMYK::getK ( ) const

色調の値を取得。

0.0から1.0までの値。0.0が黒なし、1.0が最大の黒。

Returns
色調の値
Exceptions
PtlException

◆ getM()

float PdfTk::PtlColorDeviceCMYK::getM ( ) const

マゼンタの値を取得。

0.0から1.0までの値。0.0がマゼンタなし、1.0が最大のマゼンタ。

Returns
マゼンタの値
Exceptions
PtlException

◆ getY()

float PdfTk::PtlColorDeviceCMYK::getY ( ) const

黄の値を取得。

0.0から1.0までの値。0.0が黄なし、1.0が最大の黄。

Returns
黄の値
Exceptions
PtlException

◆ operator=()

PtlColorDeviceCMYK& PdfTk::PtlColorDeviceCMYK::operator= ( const PtlColorDeviceCMYK obj)

コピーオペレータ

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

◆ setC()

void PdfTk::PtlColorDeviceCMYK::setC ( float  c)

シアンの値を設定。

0.0から1.0までの値。0.0がシアンなし、1.0が最大のシアン。

Parameters
cシアンの値
Exceptions
PtlException

◆ setK()

void PdfTk::PtlColorDeviceCMYK::setK ( float  k)

色調の値を設定。

0.0から1.0までの値。0.0が黒なし、1.0が最大の黒。

Parameters
k色調の値
Exceptions
PtlException

◆ setM()

void PdfTk::PtlColorDeviceCMYK::setM ( float  m)

マゼンタの値を設定。

0.0から1.0までの値。0.0がマゼンタなし、1.0が最大のマゼンタ。

Parameters
mマゼンタの値
Exceptions
PtlException

◆ setY()

void PdfTk::PtlColorDeviceCMYK::setY ( float  y)

黄の値を設定。

0.0から1.0までの値。0.0が黄なし、1.0が最大の黄。

Parameters
y黄の値
Exceptions
PtlException