This static class contains miscelleanous methods for rendering controls.
![](../icons/collapse_all.gif)
C# | Visual Basic |
public static class PaintHelper
Public NotInheritable Class PaintHelper
![](../icons/collapse_all.gif)
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.
|
![](../icons/collapse_all.gif)
Object | |
![]() | PaintHelper |