[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.5 (0.6.3.5)

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 factory is null.
System..::..ArgumentException brush with the same name or alias already exists.

See Also