Bagikan melalui


Renderer.Measure Method

Include Protected Members
Include Inherited Members

Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members

Calculates the Rectangle on the device context needed to contain the stroke or strokes to be drawn by the Renderer object.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Measure(Stroke) Calculates the Rectangle on the device context needed to contain the Stroke object to be drawn with the Draw method of the Renderer object.
Public method Measure(Strokes) Calculates the Rectangle on the device context needed to contain the Strokes collection to be drawn with the Draw method of the Renderer object.
Public method Measure(Stroke, DrawingAttributes) Calculates the Rectangle on the device context needed to contain the Stroke object to be drawn with the Draw method of the Renderer object by using the specified DrawingAttributes.

Top

See Also

Reference

Renderer Class

Renderer Members

Microsoft.Ink Namespace