PDFTool 7.0
PtlColorDeviceGray.h
1
2// PtlColorDeviceGray.h
3// Copyright (C) 2013-2018 Antenna House,Inc.
4// All rights reserved.
6#ifndef PDFTK_PTLCOLOR_DEVICE_GRAY_H_
7#define PDFTK_PTLCOLOR_DEVICE_GRAY_H_
8
9#include "PtlColor.h"
10
11namespace PdfTk {
12
16
17class PDFTK_API PtlColorDeviceGray : public PtlColor
18{
19public:
25
32 PtlColorDeviceGray(float gray);
33
40
45
46public:
52
53public:
61 float getGray() const;
62
70 void setGray(float gray);
71};
72
73} // namespace PdfTk
74
75#endif // PDFTK_PTLCOLOR_DEVICE_GRAY_H_
PtlColor()
コンストラクタ
PtlColorDeviceGray(const PtlColorDeviceGray &obj)
コピーコンストラクタ
float getGray() const
グレースケール値を取得。
PtlColorDeviceGray & operator=(const PtlColorDeviceGray &obj)
コピーオペレータ
void setGray(float gray)
グレースケール値を設定。
‾PtlColorDeviceGray()
デストラクタ
PtlColorDeviceGray(float gray)
コンストラクタ
PtlColorDeviceGray()
コンストラクタ