Interface ISyntaxPaint
Represents properties and methods, used to draw text and graphic primitives.
public interface ISyntaxPaint
Properties
- FontHeight
When implemented by a class, represents height of the current font.
- IsFontMonospace
When implemented by a class, get a boolean value indicating whether current font is monospaced.
- LineSpace
When implemented by a class, Represents additional height added to the height of the font.
Methods
- CharWidth(char, int)
When implemented by a class, measures summary character width accordingly to specified conditions.
- EqualStyles(StringItemInfo, StringItemInfo, bool)
When implemented by a class, indicates whether given styles are equal.
- GetBackColor(bool)
When implemented by a class, retrieves background color in accordance with specified parameter and editor settings.
- GetFontColor(Color, TextStyle)
When implemented by a class, retrieves font color corresponding to given state.
- GetFontStyle(FontStyle, TextStyle)
When implemented by a class, retrieves font style corresponding to given state.
- GetForeColor(bool)
When implemented by a class, retrieves foreground color in accordance with specified parameter and editor settings.
- GetLexStyle(StringItemInfo, ref TextStyle)
When implemented by a class, retrieves lex state corresponding to given parser style.
- MeasureLine(int, int, int)
When implemented by a class, measures part of the string given at by its Index.
- MeasureLine(int, int, int, double, out int, bool)
When implemented by a class, measures part of the string given by its index.
- MeasureLine(string, StringItemInfo[], int, int)
When implemented by a class, measures part of given string.
- MeasureLine(string, StringItemInfo[], int, int, double, out int, bool)
When implemented by a class, measures part of given string.
- OnFontFamilyChanged()
When implemented by a class, occurs when font changed.
- StringWidth(string)
When implemented by a class, measures specified string.