[This is preliminary documentation and is subject to change.]

Registers a new brush.

Namespace: fCraft.Drawing
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.2 (0.6.3.2)

Syntax

   
 C# 
public static void RegisterBrush(
	IBrushFactory factory
)

Parameters

factory
IBrushFactory
IBrushFactory that will be used to create new instances of the brush.

Exceptions

ExceptionCondition
System..::..ArgumentNullException If factory is null.
System..::..ArgumentException If brush with the same name or alias already exists.

See Also