AccurateTextDrawCompositionText Method |
Draw text without a glowing background, for use on a composition element.
Namespace: Internal.ComponentFactory.Krypton.ToolkitAssembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic static void DrawCompositionText(
Graphics g,
string text,
Font font,
Rectangle bounds,
PaletteState state,
Color color,
bool copyBackground,
StringFormat sf
)
Parameters
- g Graphics
- Graphics reference.
- text String
- Text to be drawn.
- font Font
- Font to use for text.
- bounds Rectangle
- Bounding area for the text.
- state PaletteState
- State of the source element.
- color Color
- Color of the text.
- copyBackground Boolean
- Should existing background be copied into the bitmap.
- sf StringFormat
- StringFormat of the memento.
See Also