Interface IRectDrawingContext
Provides convenience methods for drawing filled and stroked rectangles,
similar to the fillRect()
and strokeRect()
functions in the HTML5 Canvas API.
public interface IRectDrawingContext
Methods
FillRect(Rect)
Fills the specified rectangle using the current fill style.
void FillRect(Rect rect)
Parameters
rect
RectThe rectangle to fill.
StrokeRect(Rect)
Draws the outline of the specified rectangle using the current stroke style.
void StrokeRect(Rect rect)
Parameters
rect
RectThe rectangle to stroke.