MPfm: Music Player for Musicians - Developer Documentation - 0.6.0.0
PaintHelper Class
NamespacesMPfm.WindowsControlsPaintHelper
This static class contains miscelleanous methods for rendering controls.
Declaration Syntax
C#Visual Basic
public static class PaintHelper
Public NotInheritable Class PaintHelper
Members
All MembersMethods



IconMemberDescription
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

Assembly: MPfm.WindowsControls (Module: MPfm.WindowsControls) Version: 0.5.3.0 (0.5.3.0)