AvalonEdit
AddRectangle Method (left, top, right, bottom)
NamespacesICSharpCode.AvalonEdit.RenderingBackgroundGeometryBuilderAddRectangle(Double, Double, Double, Double)
Adds a rectangle to the geometry.
Declaration Syntax
C#Visual BasicVisual C++
public void AddRectangle(
	double left,
	double top,
	double right,
	double bottom
)
Public Sub AddRectangle ( _
	left As Double, _
	top As Double, _
	right As Double, _
	bottom As Double _
)
public:
void AddRectangle(
	double left, 
	double top, 
	double right, 
	double bottom
)
Parameters
left (Double)
top (Double)
right (Double)
bottom (Double)
Remarks
This overload assumes that the coordinates are aligned properly (see AlignToWholePixels, AlignToMiddleOfPixels). Use the AddRectangle(TextView, Rect)-overload instead if the coordinates are not yet aligned.

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