Class Xyz
Assembly: Terminaux.dll
Syntax
public class Xyz : BaseColorModel
Properties
|
Edit this page
View Source
X
The X value [0.0 -> 95.047]
Declaration
Property Value
|
Edit this page
View Source
Y
The Y value [0.0 -> 100.0]
Declaration
Property Value
|
Edit this page
View Source
Z
The Z value [0.0 -> 108.883]
Declaration
Property Value
Methods
|
Edit this page
View Source
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
object.Equals(object)
|
Edit this page
View Source
Equals(Xyz)
Declaration
public bool Equals(Xyz other)
Parameters
Type |
Name |
Description |
Xyz |
other |
|
Returns
|
Edit this page
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
object.GetHashCode()
|
Edit this page
View Source
IsSpecifierAndValueValid(string)
Does the string specifier represent a valid XYZ specifier?
Declaration
public static bool IsSpecifierAndValueValid(string specifier)
Parameters
Type |
Name |
Description |
string |
specifier |
Specifier that represents a valid XYZ specifier
|
Returns
Type |
Description |
bool |
True if the specifier is valid; false otherwise.
|
|
Edit this page
View Source
IsSpecifierValid(string, bool)
Does the string specifier represent a valid XYZ specifier?
Declaration
public static bool IsSpecifierValid(string specifier, bool checkParts = false)
Parameters
Type |
Name |
Description |
string |
specifier |
Specifier that represents a valid XYZ specifier
|
bool |
checkParts |
Whether to check the parts count or not
|
Returns
Type |
Description |
bool |
True if the specifier is valid; false otherwise.
|
|
Edit this page
View Source
ParseSpecifier(string)
Parses the specifier and returns an instance of Xyz
Declaration
public static Xyz ParseSpecifier(string specifier)
Parameters
Type |
Name |
Description |
string |
specifier |
Specifier of XYZ
|
Returns
Type |
Description |
Xyz |
An instance of Xyz
|
Exceptions
|
Edit this page
View Source
ParseSpecifierToRgb(string, ColorSettings?)
Parses the specifier and returns an instance of Xyz converted to RedGreenBlue
Declaration
public static RedGreenBlue ParseSpecifierToRgb(string specifier, ColorSettings? settings = null)
Parameters
Type |
Name |
Description |
string |
specifier |
Specifier of RGB
|
ColorSettings |
settings |
Settings to use. Use null for global settings
|
Returns
Exceptions
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
object.ToString()
Operators
|
Edit this page
View Source
operator ==(Xyz, Xyz)
Declaration
public static bool operator ==(Xyz left, Xyz right)
Parameters
Type |
Name |
Description |
Xyz |
left |
|
Xyz |
right |
|
Returns
|
Edit this page
View Source
operator !=(Xyz, Xyz)
Declaration
public static bool operator !=(Xyz left, Xyz right)
Parameters
Type |
Name |
Description |
Xyz |
left |
|
Xyz |
right |
|
Returns