AvalonEdit
AddRectangle Method (textView, rectangle)
NamespacesICSharpCode.AvalonEdit.RenderingBackgroundGeometryBuilderAddRectangle(TextView, Rect)
Adds a rectangle to the geometry.
Declaration Syntax
C#Visual BasicVisual C++
public void AddRectangle(
	TextView textView,
	Rect rectangle
)
Public Sub AddRectangle ( _
	textView As TextView, _
	rectangle As Rect _
)
public:
void AddRectangle(
	TextView^ textView, 
	Rect rectangle
)
Parameters
textView (TextView)
rectangle (Rect)
Remarks
This overload will align the coordinates according to AlignToWholePixels or AlignToMiddleOfPixels. Use the AddRectangle(Double, Double, Double, Double)-overload instead if the coordinates should not be aligned.

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238