Piccolo.NET

PUtil.WriteBrush Method 

Write this Brush to the given SerializationInfo.

public static void WriteBrush(
   Brush brush,
   string name,
   SerializationInfo info
);

Parameters

brush
The Brush to write out.
name
The name to write the brush under
info
The SerializationInfo to write to.

Remarks

A serialization surrogate cannot be used here since the serialization depends on the type of brush and we do not want to add a surrogate for every type.

See Also

PUtil Class | UMD.HCIL.Piccolo.Util Namespace