Class Yxy
Assembly: Terminaux.dll
Syntax
public class Yxy : BaseColorModel
Properties
|
Edit this page
View Source
X
Declaration
Property Value
|
Edit this page
View Source
Y1
The Y value [0.0 -> 100.0]
Declaration
public double Y1 { get; }
Property Value
|
Edit this page
View Source
Y2
Declaration
public double Y2 { get; }
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(Yxy)
Declaration
public bool Equals(Yxy other)
Parameters
Type |
Name |
Description |
Yxy |
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 YXY specifier?
Declaration
public static bool IsSpecifierAndValueValid(string specifier)
Parameters
Type |
Name |
Description |
string |
specifier |
Specifier that represents a valid YXY 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 YXY specifier?
Declaration
public static bool IsSpecifierValid(string specifier, bool checkParts = false)
Parameters
Type |
Name |
Description |
string |
specifier |
Specifier that represents a valid YXY 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 Yxy
Declaration
public static Yxy ParseSpecifier(string specifier)
Parameters
Type |
Name |
Description |
string |
specifier |
Specifier of YXY
|
Returns
Type |
Description |
Yxy |
An instance of Yxy
|
Exceptions
|
Edit this page
View Source
ParseSpecifierToRgb(string, ColorSettings?)
Parses the specifier and returns an instance of Yxy 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 ==(Yxy, Yxy)
Declaration
public static bool operator ==(Yxy left, Yxy right)
Parameters
Type |
Name |
Description |
Yxy |
left |
|
Yxy |
right |
|
Returns
|
Edit this page
View Source
operator !=(Yxy, Yxy)
Declaration
public static bool operator !=(Yxy left, Yxy right)
Parameters
Type |
Name |
Description |
Yxy |
left |
|
Yxy |
right |
|
Returns