Piccolo.NET

PUtil.ReadBrush Method 

Read in a Brush from the given SerializationInfo.

public static Brush ReadBrush(
   SerializationInfo info,
   string name
);

Parameters

info
The SerializationInfo to read from.
name
The name the brush was written under.

Return Value

The Brush read in.

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


Web Accessibility