C# Class Cocoa.BezierPath

Inheritance: Object
Datei anzeigen Open project: mono/cocoa-sharp

Public Methods

Method Description
BezierPath ( IntPtr native_object ) : System

Default Constructor

FillRect ( Rect bounds ) : void

Fills the specified rectangular path with the current fill color.

This method fills the specified region immediately. This method uses the compositing operation returned by the compositingOperation method of NSGraphicsContext.

StrokeRect ( Rect bounds ) : void

Strokes the path of the specified rectangle using the current stroke color and the default drawing attributes

The path is drawn beginning at the rectangleÕs origin and proceeding in a counterclockwise direction. This method strokes the specified path immediately.

Method Details

BezierPath() public method

Default Constructor
public BezierPath ( IntPtr native_object ) : System
native_object System.IntPtr
return System

FillRect() public static method

Fills the specified rectangular path with the current fill color.
This method fills the specified region immediately. This method uses the compositing operation returned by the compositingOperation method of NSGraphicsContext.
public static FillRect ( Rect bounds ) : void
bounds Rect /// A rectangle in the current coordinate system. ///
return void

StrokeRect() public static method

Strokes the path of the specified rectangle using the current stroke color and the default drawing attributes
The path is drawn beginning at the rectangleÕs origin and proceeding in a counterclockwise direction. This method strokes the specified path immediately.
public static StrokeRect ( Rect bounds ) : void
bounds Rect /// A rectangle in the current coordinate system. ///
return void