ColorType Enumeration

From Tracker Software PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:ColorType Enumeration}}
 
{{#customTitle:ColorType Enumeration}}
{{ToWrite}}
+
{{#parentPage:PXV:Common_Enumerations|ColorType|enum}}
 
{{ToReview}}
 
{{ToReview}}
  
Specifies the ...
+
Specifies the type of the color that is being stored in the [[PXV:IColor|IColor]]. Values less then ''0'' are used for the inner usage and do not represent any color.
  
 
== Syntax ==
 
== Syntax ==
 
<pre class="brush:cpp;gutter:false">enum ColorType
 
<pre class="brush:cpp;gutter:false">enum ColorType
 
{
 
{
     ColorType_Auto = -3;
+
     ColorType_Auto   = -3,
     ColorType_Default = -2;
+
     ColorType_Default = -2,
     ColorType_None = -1;
+
     ColorType_None   = -1,
     ColorType_RGB = 0;
+
     ColorType_RGB     = 0,
     ColorType_CMYK = 1;
+
     ColorType_CMYK   = 1,
     ColorType_Gray = 2;
+
     ColorType_Gray   = 2,
 
};
 
};
 
</pre>
 
</pre>
Line 20: Line 21:
 
== Constants ==
 
== Constants ==
 
;ColorType_Auto
 
;ColorType_Auto
:The ...
+
:The color type is Automatic. Corresponds to the "A" value.
 
;ColorType_Default
 
;ColorType_Default
:The ...
+
:The color type is Default. Corresponds to the "D" value.
 
;ColorType_None
 
;ColorType_None
:The ...
+
:The color type is None. Corresponds to the "N" value.
 
;ColorType_RGB
 
;ColorType_RGB
:The ...
+
:The color type is RGB.
 
;ColorType_CMYK
 
;ColorType_CMYK
:The ...
+
:The color type is CMYK.
 
;ColorType_Gray
 
;ColorType_Gray
:The ...
+
:The color type is the shades of gray.
  
 
== See Also ==
 
== See Also ==
See also ...
+
[[PXV:IAUX_Inst_CreateColor|IAUX_Inst::CreateColor]], [[PXV:IColor_Type|IColor::Type]], [[PXV:IPXC_Color_Value|IPXC_Color::Value]], [[PXV:IUIX_Inst_CreateColor|IUIX_Inst::CreateColor]]

Latest revision as of 02:31, 16 March 2017


Specifies the type of the color that is being stored in the IColor. Values less then 0 are used for the inner usage and do not represent any color.

Syntax

enum ColorType
{
    ColorType_Auto    = -3,
    ColorType_Default = -2,
    ColorType_None    = -1,
    ColorType_RGB     = 0,
    ColorType_CMYK    = 1,
    ColorType_Gray    = 2,
};

Constants

ColorType_Auto
The color type is Automatic. Corresponds to the "A" value.
ColorType_Default
The color type is Default. Corresponds to the "D" value.
ColorType_None
The color type is None. Corresponds to the "N" value.
ColorType_RGB
The color type is RGB.
ColorType_CMYK
The color type is CMYK.
ColorType_Gray
The color type is the shades of gray.

See Also

IAUX_Inst::CreateColor, IColor::Type, IPXC_Color::Value, IUIX_Inst::CreateColor