Skybound Rebar

RebarTheme.CreateBandRenderer Method 

Creates a new RebarBandRenderer object which renders bands using the current theme.

[Visual Basic]
Overridable Public Function CreateBandRenderer() As RebarBandRenderer
[C#]
public virtual RebarBandRenderer CreateBandRenderer();

Return Value

A RebarBandRenderer object which renders bands using the current theme.

Remarks

The Create methods of a RebarTheme implement a factory design pattern. When you want to draw using a theme, first create a renderer by calling a Create method, and then call the methods on the new renderer to perform the required drawing.

If you create a custom theme, override this method and return a new instance of your custom implementation of RebarBandRenderer.

See Also

RebarTheme Class | Skybound.Rebar.Rendering Namespace