Parent: Object
PenBrushFactory is a static class that can return WPF Pen and Brush objects that are styled to the currently selected WL8 Theme. Additionally, the Pens and Brushes are cached so that multiple requests for the same objects will not incur unnecessary processing.
Returns a SolidColorBrush using the background color of the currently selected WL8 Theme.
Returns a SolidColorBrush using the foreground color of the currently selected WL8 Theme.
Returns a WPF SolidColorBrush using the specified color.
Returns a SolidColorBrush for rendering green text in the currently selected WL8 Theme.
Returns a SolidColorBrush based on the specified profit parameter value. Negative values will return a red colored Brush, positive a green, and zero a gray.
Returns a SolidColorBrush for rendering red text in the currently selected WL8 Theme.
Returns the background color of the currently selected WL8 Theme.
Returns the foreground color of the currently selected WL8 Theme.
Returns a WLColor that corresponds to a green that can be rendered in the currently selected WL8 Theme.
Returns a WLColor that corresponds to a red that can be rendered in the currently selected WL8 Theme.
The first method signature returns a WPF Pen using the specified color. You can optionally specify a thickness and line style (ls parameter.)
The second method signature returns a WPF Pen using the specified color and line style (ls parameter) with a thickness of 1.