This static class contains miscelleanous methods for rendering controls.
Declaration Syntax
C# | Visual Basic |
public static class PaintHelper
Public NotInheritable Class PaintHelper
Members
All Members | Methods | ||||
Icon | Member | Description |
---|---|---|
LoadFont(EmbeddedFontCollection, CustomFont) |
Loads a standard or embedded font from MPfm.Fonts.
| |
RenderBackgroundGradient(Graphics, RectangleF, BackgroundGradient) |
Renders a gradient using the BackgroundGradient properties.
| |
RenderBackgroundGradient(Graphics, RectangleF, RectangleF, BackgroundGradient) |
Renders a gradient using the BackgroundGradient properties.
| |
RenderBackgroundGradient(Graphics, RectangleF, RectangleF, RectangleF, BackgroundGradient) |
Renders a gradient using the BackgroundGradient properties.
| |
RenderImageWithAlignment(Graphics, Rectangle, Image, ContentAlignment) |
Renders an image with alignment using a 1:1 ratio.
| |
RenderTextWithAlignment(Graphics, RectangleF, Font, String, ContentAlignment, Color, Int32) |
Renders text with alignment.
| |
SetAntiAliasing(Graphics) |
Sets the properties necessary for rendering anti-aliased text on the Graphics object.
|
Inheritance Hierarchy
Object | |
PaintHelper |