Cyotek.Drawing.BitmapFont A bitmap font. When used with , specifies that no wrapping should occur. Gets or sets the alpha channel. The alpha channel. Set to 0 if the channel holds the glyph data, 1 if it holds the outline, 2 if it holds the glyph and the outline, 3 if its set to zero, and 4 if its set to one. Gets or sets the number of pixels from the absolute top of the line to the base of the characters. The number of pixels from the absolute top of the line to the base of the characters. Gets or sets the blue channel. The blue channel. Set to 0 if the channel holds the glyph data, 1 if it holds the outline, 2 if it holds the glyph and the outline, 3 if its set to zero, and 4 if its set to one. Gets or sets a value indicating whether the font is bold. true if the font is bold, otherwise false. Gets or sets the characters that comprise the font. The characters that comprise the font. Gets or sets the name of the OEM charset used. The name of the OEM charset used (when not unicode). Gets or sets the name of the true type font. The font family name. Gets or sets the size of the font. The size of the font. Gets or sets the green channel. The green channel. Set to 0 if the channel holds the glyph data, 1 if it holds the outline, 2 if it holds the glyph and the outline, 3 if its set to zero, and 4 if its set to one. Gets or sets a value indicating whether the font is italic. true if the font is italic, otherwise false. Indexer to get items within this collection using array index syntax. The character. The indexed item. Gets or sets the character kernings for the font. The character kernings for the font. Gets or sets the distance in pixels between each line of text. The distance in pixels between each line of text. Gets or sets the outline thickness for the characters. The outline thickness for the characters. Gets or sets a value indicating whether the monochrome characters have been packed into each of the texture channels. true if the characters are packed, otherwise false. When packed, the property describes what is stored in each channel. Gets or sets the padding for each character. The padding for each character. Gets or sets the texture pages for the font. The pages. Gets or sets the red channel. The red channel. Set to 0 if the channel holds the glyph data, 1 if it holds the outline, 2 if it holds the glyph and the outline, 3 if its set to zero, and 4 if its set to one. Gets or sets a value indicating whether the font is smoothed. true if the font is smoothed, otherwise false. Gets or sets the spacing for each character. The spacing for each character. Gets or sets the font height stretch. The font height stretch. 100% means no stretch. Gets or sets the level of super sampling used by the font. The super sampling level of the font. A value of 1 indicates no super sampling is in use. Gets or sets the size of the texture images used by the font. The size of the texture. Gets or sets a value indicating whether the font is unicode. true if the font is unicode, otherwise false. Gets the kerning for the specified character combination. The previous character. The current character. The spacing between the specified characters. Load font information from the specified . Thrown when one or more required arguments are null. Thrown when one or more arguments have unsupported or illegal values. Thrown when an Invalid Data error condition occurs. The stream to load. Load font information from the specified file. Thrown when one or more required arguments are null. Thrown when the requested file is not present. The file name to load. Loads font information from the specified string. String containing the font to load. The source data must be in BMFont text format. Loads font information from the specified stream. The source data must be in BMFont text format. Thrown when one or more required arguments are null. The stream containing the font to load. Loads font information from the specified . The source data must be in BMFont text format. Thrown when one or more required arguments are null. The TextReader used to feed the data into the font. Loads font information from the specified string. String containing the font to load. The source data must be in BMFont XML format. Loads font information from the specified . The source data must be in BMFont XML format. Thrown when one or more required arguments are null. The TextReader used to feed the data into the font. Loads font information from the specified stream. The source data must be in BMFont XML format. Thrown when one or more required arguments are null. The stream containing the font to load. Provides the size, in pixels, of the specified text when drawn with this font. The text to measure. The , in pixels, of drawn with this font. Provides the size, in pixels, of the specified text when drawn with this font, automatically wrapping to keep within the specified with. The text to measure. The maximum width. The , in pixels, of drawn with this font. The MeasureText method uses the parameter to automatically wrap when determining text size. Returns an enumerator that iterates through the collection. A that can be used to iterate through the collection. Gets the enumerator. The enumerator. Parsing class for bitmap fonts generated by AngelCode BMFont Loads a bitmap font from a file, attempting to auto detect the file type Thrown when one or more required arguments are null. Thrown when the requested file is not present. Thrown when an Invalid Data error condition occurs. Name of the file to load. A containing the loaded data. Loads a bitmap font from a file containing font data in text format. Thrown when one or more required arguments are null. Thrown when the requested file is not present. Name of the file to load. A containing the loaded data. Loads a bitmap font from a file containing font data in XML format. Thrown when one or more required arguments are null. Thrown when the requested file is not present. Name of the file to load. A containing the loaded data. Returns a boolean from an array of name/value pairs. The array of parts. The name of the value to return. Default value(if the key doesnt exist or can't be parsed) Returns an integer from an array of name/value pairs. The array of parts. The name of the value to return. Default value(if the key doesnt exist or can't be parsed) Returns a string from an array of name/value pairs. The array of parts. The name of the value to return. Creates a Padding object from a string representation The string. Creates a Point object from a string representation The string. Updates data with a fully qualified path The to update. The path where texture resources are located. Splits the specified string using a given delimiter, ignoring any instances of the delimiter as part of a quoted string. The string to split. The delimiter. Converts the given collection into an array Type of the items in the array The values. Represents the definition of a single character in a Gets or sets the bounds of the character image in the source texture. The bounds of the character image in the source texture. Gets or sets the texture channel where the character image is found. The texture channel where the character image is found. 1 = blue, 2 = green, 4 = red, 8 = alpha, 15 = all channels Gets or sets the character. The character. Gets or sets the offset when copying the image from the texture to the screen. The offset when copying the image from the texture to the screen. Gets or sets the texture page where the character image is found. The texture page where the character image is found. Gets or sets the value used to advance the current position after drawing the character. How much the current position should be advanced after drawing the character. Returns the fully qualified type name of this instance. A containing a fully qualified type name. Represents the font kerning between two characters. Constructor. The first character. The second character. How much the x position should be adjusted when drawing the second character immediately following the first. Gets or sets how much the x position should be adjusted when drawing the second character immediately following the first. How much the x position should be adjusted when drawing the second character immediately following the first. Gets or sets the first character. The first character. Gets or sets the second character. The second character. Returns the fully qualified type name of this instance. A containing a fully qualified type name. Represents padding or margin information associated with an element. Initializes a new instance of the stricture using a separate padding size for each edge. The padding size, in pixels, for the left edge. The padding size, in pixels, for the top edge. The padding size, in pixels, for the right edge. The padding size, in pixels, for the bottom edge. Gets or sets the padding value for the bottom edge. The padding, in pixels, for the bottom edge. Gets or sets the padding value for the left edge. The padding, in pixels, for the left edge. Gets or sets the padding value for the right edge. The padding, in pixels, for the right edge. Gets or sets the padding value for the top edge. The padding, in pixels, for the top edge. Returns the fully qualified type name of this instance. A containing a fully qualified type name. Represents a texture page. Creates a texture page using the specified ID and source file name. The identifier. Filename of the texture image. Gets or sets the filename of the source texture image. The name of the file containing the source texture image. Gets or sets the page identifier. The page identifier. Returns the fully qualified type name of this instance. A containing a fully qualified type name.