Class Constants
A class containing constants used across multiple classes within the Tiresias namespace. Reference: https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/how-to-define-constants.
Inheritance
Inherited Members
Namespace: Phoenix.Tiresias
Assembly: Phoenix.Plugin.Tiresias.dll
Syntax
public static class Constants
Fields
View SourceBorderColor
The color used to outline text in the automatic report.
Declaration
public static readonly Color BorderColor
Field Value
Type | Description |
---|---|
System.Drawing.Color |
CalculatedContrastRatioDecimalDisplay
A placeholder for converting decimal contrast values to strings.
Declaration
public const string CalculatedContrastRatioDecimalDisplay = "#.0"
Field Value
Type | Description |
---|---|
System.String |
ColorDisplayHeight
Bitmap height.
Declaration
public const int ColorDisplayHeight = 20
Field Value
Type | Description |
---|---|
System.Int32 |
ColorDisplayWidth
Bitmap width.
Declaration
public const int ColorDisplayWidth = 40
Field Value
Type | Description |
---|---|
System.Int32 |
ExportFileExtension
The default file extension for image exports.
Declaration
public const string ExportFileExtension = ".bmp"
Field Value
Type | Description |
---|---|
System.String |
ExportImageFormat
The default image format for image exports.
Declaration
public static readonly ImageFormat ExportImageFormat
Field Value
Type | Description |
---|---|
System.Drawing.Imaging.ImageFormat |
Fail
Failing message.
Declaration
public const string Fail = "Fail"
Field Value
Type | Description |
---|---|
System.String |
FormatString
The formatting string for specifying the date and time of an image file.
Declaration
public const string FormatString = "M_dd_yyyy_HH_mm_ss "
Field Value
Type | Description |
---|---|
System.String |
MarkerSize
The size of the square used to mark foreground and background pixels in the auto report.
Declaration
public const int MarkerSize = 5
Field Value
Type | Description |
---|---|
System.Int32 |
MaxPixelsAwayFromBoundingBox
How far away from a letter a background pixel can be.
Declaration
public const int MaxPixelsAwayFromBoundingBox = 5
Field Value
Type | Description |
---|---|
System.Int32 |
Pass
Passing message.
Declaration
public const string Pass = "Pass!"
Field Value
Type | Description |
---|---|
System.String |
Size1080P
The height of a 1080p display.
Declaration
public const int Size1080P = 1080
Field Value
Type | Description |
---|---|
System.Int32 |
Size1080pConsoleText
Text stating the 1080p standard is being used for text size tests.
Declaration
public const string Size1080pConsoleText = "1080p console standard"
Field Value
Type | Description |
---|---|
System.String |
Size1080pPCText
Text stating the 1080p standard is being used for text size tests.
Declaration
public const string Size1080pPCText = "1080p PC standard"
Field Value
Type | Description |
---|---|
System.String |
Size2160P
The height of a 4K display.
Declaration
public const int Size2160P = 2160
Field Value
Type | Description |
---|---|
System.Int32 |
Size2160pConsoleText
Text stating the 4K standard is being used for text size tests.
Declaration
public const string Size2160pConsoleText = "4K Console standard"
Field Value
Type | Description |
---|---|
System.String |
Size2160pPCText
Text stating the 4K standard is being used for text size tests.
Declaration
public const string Size2160pPCText = "4K PC standard"
Field Value
Type | Description |
---|---|
System.String |
Properties
View SourceRecPixelSize1080P
Gets or sets the ratio of recommended text height : image height for a 1080p display.
Declaration
public static double RecPixelSize1080P { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
RecPixelSize2160P
Gets or sets the ratio of recommended text height : image height for a 4K display.
Declaration
public static double RecPixelSize2160P { get; set; }
Property Value
Type | Description |
---|---|
System.Double |