C# Class System.Drawing.Drawing2D.GraphicsPath

Inheritance: MarshalByRefObject, ICloneable, IDisposable
显示文件 Open project: mono/sysdrawing-coregraphics Class Usage Examples

Public Methods

Method Description
AddArc ( Rectangle rect, float start_angle, float sweep_angle ) : void
AddArc ( RectangleF rect, float start_angle, float sweep_angle ) : void
AddArc ( float x, float y, float width, float height, float start_angle, float sweep_angle ) : void
AddArc ( int x, int y, int width, int height, float start_angle, float sweep_angle ) : void
AddBezier ( Point pt1, Point pt2, Point pt3, Point pt4 ) : void
AddBezier ( PointF pt1, PointF pt2, PointF pt3, PointF pt4 ) : void
AddBezier ( float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4 ) : void
AddBezier ( int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4 ) : void
AddBeziers ( ) : void
AddClosedCurve ( Point points ) : void
AddClosedCurve ( Point points, float tension ) : void
AddClosedCurve ( PointF points ) : void
AddClosedCurve ( PointF points, float tension ) : void
AddCurve ( Point points ) : void
AddCurve ( Point points, float tension ) : void
AddCurve ( Point points, int offset, int numberOfSegments, float tension ) : void
AddCurve ( PointF points ) : void
AddCurve ( PointF points, float tension ) : void
AddCurve ( PointF points, int offset, int numberOfSegments, float tension ) : void
AddEllipse ( Rectangle rect ) : void
AddEllipse ( RectangleF rect ) : void
AddEllipse ( float x, float y, float width, float height ) : void
AddEllipse ( int x, int y, int width, int height ) : void
AddLine ( Point pt1, Point pt2 ) : void
AddLine ( PointF pt1, PointF pt2 ) : void
AddLine ( float x1, float y1, float x2, float y2 ) : void
AddLine ( int x1, int y1, int x2, int y2 ) : void
AddLines ( Point points ) : void
AddLines ( PointF points ) : void
AddPath ( GraphicsPath addingPath, bool connect ) : void
AddPie ( Rectangle rect, float startAngle, float sweepAngle ) : void
AddPie ( float x, float y, float width, float height, float startAngle, float sweepAngle ) : void
AddPie ( int x, int y, int width, int height, float startAngle, float sweepAngle ) : void
AddPolygon ( Point points ) : void
AddPolygon ( PointF points ) : void
AddRectangle ( Rectangle rect ) : void
AddRectangle ( RectangleF rect ) : void
AddRectangles ( Rectangle rects ) : void
AddRectangles ( RectangleF rects ) : void
AddString ( string s, FontFamily family, int style, float emSize, Point origin, StringFormat format ) : void
AddString ( string s, FontFamily family, int style, float emSize, PointF origin, StringFormat format ) : void
AddString ( string s, FontFamily family, int style, float emSize, Rectangle layoutRect, StringFormat format ) : void
AddString ( string s, FontFamily family, int style, float emSize, RectangleF layoutRect, StringFormat format ) : void
ClearMarkers ( ) : void
Clone ( ) : object
CloseAllFigures ( ) : void
CloseFigure ( ) : void
Dispose ( ) : void
Flatten ( ) : void
Flatten ( Matrix matrix ) : void
Flatten ( Matrix matrix, float flatness ) : void
GetBounds ( ) : RectangleF
GetBounds ( Matrix matrix ) : RectangleF
GetBounds ( Matrix matrix, Pen pen ) : RectangleF
GetLastPoint ( ) : PointF
GraphicsPath ( ) : CoreGraphics
GraphicsPath ( FillMode fillMode ) : CoreGraphics
GraphicsPath ( Point pts, byte types ) : CoreGraphics
GraphicsPath ( Point pts, byte types, FillMode fillMode ) : CoreGraphics
GraphicsPath ( PointF pts, byte types ) : CoreGraphics
GraphicsPath ( PointF pts, byte types, FillMode fillMode ) : CoreGraphics
IsOutlineVisible ( Point point, Pen pen ) : bool
IsOutlineVisible ( Point pt, Pen pen, Graphics graphics ) : bool
IsOutlineVisible ( PointF point, Pen pen ) : bool
IsOutlineVisible ( PointF pt, Pen pen, Graphics graphics ) : bool
IsOutlineVisible ( float x, float y, Pen pen ) : bool
IsOutlineVisible ( float x, float y, Pen pen, Graphics graphics ) : bool
IsOutlineVisible ( int x, int y, Pen pen ) : bool
IsOutlineVisible ( int x, int y, Pen pen, Graphics graphics ) : bool
IsVisible ( Point point ) : bool
IsVisible ( Point point, Graphics graphics ) : bool
IsVisible ( PointF point ) : bool
IsVisible ( PointF point, Graphics graphics ) : bool
IsVisible ( float x, float y ) : bool
IsVisible ( float x, float y, Graphics graphics ) : bool
IsVisible ( int x, int y ) : bool
IsVisible ( int x, int y, Graphics graphics ) : bool
Reset ( ) : void
Reverse ( ) : void
SetMarkers ( ) : void
StartFigure ( ) : void
Transform ( Matrix matrix ) : void
Warp ( PointF destPoints, RectangleF srcRect ) : void
Warp ( PointF destPoints, RectangleF srcRect, Matrix matrix ) : void
Warp ( PointF destPoints, RectangleF srcRect, Matrix matrix, WarpMode warpMode ) : void
Warp ( PointF destPoints, RectangleF srcRect, Matrix matrix, WarpMode warpMode, float flatness ) : void
Widen ( Pen pen ) : void
Widen ( Pen pen, Matrix matrix ) : void
Widen ( Pen pen, Matrix matrix, float flatness ) : void

Private Methods

Method Description
Append ( float x, float y, PathPointType type, bool compress ) : void
AppendArc ( bool start, float x, float y, float width, float height, float startAngle, float endAngle ) : void
AppendArcs ( float x, float y, float width, float height, float startAngle, float sweepAngle ) : void
AppendBezier ( float x1, float y1, float x2, float y2, float x3, float y3 ) : void
AppendCurve ( PointF points, PointF tangents, int offset, int length, CurveType type ) : void
AppendPoint ( PointF point, PathPointType type, bool compress ) : void
ConvertBezierToLines ( GraphicsPath path, int index, float flatness, List flat_points, List flat_types ) : bool
FlattenPath ( GraphicsPath path, Matrix matrix, float flatness ) : int
GetFirstPointType ( ) : PathPointType
NativeDrawString ( string s, Font font, Color brush, RectangleF layoutRectangle, StringFormat stringFormat ) : void
NearZero ( float value ) : bool
PathHasCurve ( GraphicsPath path ) : bool
ReverseSubpathAndAdjustFlags ( int start, int end, List old_types, List new_types, bool &isPrevHadMarker ) : void
WidenPath ( GraphicsPath path, Pen pen, List &widePoints, List &wideTypes ) : void
buildAttributedString ( string text, Font font, Color fontColor = null ) : NSMutableAttributedString
nr_curve_flatten ( float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3, float flatness, int level, List points ) : bool

Method Details

AddArc() public method

public AddArc ( Rectangle rect, float start_angle, float sweep_angle ) : void
rect Rectangle
start_angle float
sweep_angle float
return void

AddArc() public method

public AddArc ( RectangleF rect, float start_angle, float sweep_angle ) : void
rect RectangleF
start_angle float
sweep_angle float
return void

AddArc() public method

public AddArc ( float x, float y, float width, float height, float start_angle, float sweep_angle ) : void
x float
y float
width float
height float
start_angle float
sweep_angle float
return void

AddArc() public method

public AddArc ( int x, int y, int width, int height, float start_angle, float sweep_angle ) : void
x int
y int
width int
height int
start_angle float
sweep_angle float
return void

AddBezier() public method

public AddBezier ( Point pt1, Point pt2, Point pt3, Point pt4 ) : void
pt1 Point
pt2 Point
pt3 Point
pt4 Point
return void

AddBezier() public method

public AddBezier ( PointF pt1, PointF pt2, PointF pt3, PointF pt4 ) : void
pt1 PointF
pt2 PointF
pt3 PointF
pt4 PointF
return void

AddBezier() public method

public AddBezier ( float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4 ) : void
x1 float
y1 float
x2 float
y2 float
x3 float
y3 float
x4 float
y4 float
return void

AddBezier() public method

public AddBezier ( int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4 ) : void
x1 int
y1 int
x2 int
y2 int
x3 int
y3 int
x4 int
y4 int
return void

AddBeziers() public method

public AddBeziers ( ) : void
return void

AddClosedCurve() public method

public AddClosedCurve ( Point points ) : void
points Point
return void

AddClosedCurve() public method

public AddClosedCurve ( Point points, float tension ) : void
points Point
tension float
return void

AddClosedCurve() public method

public AddClosedCurve ( PointF points ) : void
points PointF
return void

AddClosedCurve() public method

public AddClosedCurve ( PointF points, float tension ) : void
points PointF
tension float
return void

AddCurve() public method

public AddCurve ( Point points ) : void
points Point
return void

AddCurve() public method

public AddCurve ( Point points, float tension ) : void
points Point
tension float
return void

AddCurve() public method

public AddCurve ( Point points, int offset, int numberOfSegments, float tension ) : void
points Point
offset int
numberOfSegments int
tension float
return void

AddCurve() public method

public AddCurve ( PointF points ) : void
points PointF
return void

AddCurve() public method

public AddCurve ( PointF points, float tension ) : void
points PointF
tension float
return void

AddCurve() public method

public AddCurve ( PointF points, int offset, int numberOfSegments, float tension ) : void
points PointF
offset int
numberOfSegments int
tension float
return void

AddEllipse() public method

public AddEllipse ( Rectangle rect ) : void
rect Rectangle
return void

AddEllipse() public method

public AddEllipse ( RectangleF rect ) : void
rect RectangleF
return void

AddEllipse() public method

public AddEllipse ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
return void

AddEllipse() public method

public AddEllipse ( int x, int y, int width, int height ) : void
x int
y int
width int
height int
return void

AddLine() public method

public AddLine ( Point pt1, Point pt2 ) : void
pt1 Point
pt2 Point
return void

AddLine() public method

public AddLine ( PointF pt1, PointF pt2 ) : void
pt1 PointF
pt2 PointF
return void

AddLine() public method

public AddLine ( float x1, float y1, float x2, float y2 ) : void
x1 float
y1 float
x2 float
y2 float
return void

AddLine() public method

public AddLine ( int x1, int y1, int x2, int y2 ) : void
x1 int
y1 int
x2 int
y2 int
return void

AddLines() public method

public AddLines ( Point points ) : void
points Point
return void

AddLines() public method

public AddLines ( PointF points ) : void
points PointF
return void

AddPath() public method

public AddPath ( GraphicsPath addingPath, bool connect ) : void
addingPath GraphicsPath
connect bool
return void

AddPie() public method

public AddPie ( Rectangle rect, float startAngle, float sweepAngle ) : void
rect Rectangle
startAngle float
sweepAngle float
return void

AddPie() public method

public AddPie ( float x, float y, float width, float height, float startAngle, float sweepAngle ) : void
x float
y float
width float
height float
startAngle float
sweepAngle float
return void

AddPie() public method

public AddPie ( int x, int y, int width, int height, float startAngle, float sweepAngle ) : void
x int
y int
width int
height int
startAngle float
sweepAngle float
return void

AddPolygon() public method

public AddPolygon ( Point points ) : void
points Point
return void

AddPolygon() public method

public AddPolygon ( PointF points ) : void
points PointF
return void

AddRectangle() public method

public AddRectangle ( Rectangle rect ) : void
rect Rectangle
return void

AddRectangle() public method

public AddRectangle ( RectangleF rect ) : void
rect RectangleF
return void

AddRectangles() public method

public AddRectangles ( Rectangle rects ) : void
rects Rectangle
return void

AddRectangles() public method

public AddRectangles ( RectangleF rects ) : void
rects RectangleF
return void

AddString() public method

public AddString ( string s, FontFamily family, int style, float emSize, Point origin, StringFormat format ) : void
s string
family FontFamily
style int
emSize float
origin Point
format StringFormat
return void

AddString() public method

public AddString ( string s, FontFamily family, int style, float emSize, PointF origin, StringFormat format ) : void
s string
family FontFamily
style int
emSize float
origin PointF
format StringFormat
return void

AddString() public method

public AddString ( string s, FontFamily family, int style, float emSize, Rectangle layoutRect, StringFormat format ) : void
s string
family FontFamily
style int
emSize float
layoutRect Rectangle
format StringFormat
return void

AddString() public method

public AddString ( string s, FontFamily family, int style, float emSize, RectangleF layoutRect, StringFormat format ) : void
s string
family FontFamily
style int
emSize float
layoutRect RectangleF
format StringFormat
return void

ClearMarkers() public method

public ClearMarkers ( ) : void
return void

Clone() public method

public Clone ( ) : object
return object

CloseAllFigures() public method

public CloseAllFigures ( ) : void
return void

CloseFigure() public method

public CloseFigure ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Flatten() public method

public Flatten ( ) : void
return void

Flatten() public method

public Flatten ( Matrix matrix ) : void
matrix Matrix
return void

Flatten() public method

public Flatten ( Matrix matrix, float flatness ) : void
matrix Matrix
flatness float
return void

GetBounds() public method

public GetBounds ( ) : RectangleF
return RectangleF

GetBounds() public method

public GetBounds ( Matrix matrix ) : RectangleF
matrix Matrix
return RectangleF

GetBounds() public method

public GetBounds ( Matrix matrix, Pen pen ) : RectangleF
matrix Matrix
pen Pen
return RectangleF

GetLastPoint() public method

public GetLastPoint ( ) : PointF
return PointF

GraphicsPath() public method

public GraphicsPath ( ) : CoreGraphics
return CoreGraphics

GraphicsPath() public method

public GraphicsPath ( FillMode fillMode ) : CoreGraphics
fillMode FillMode
return CoreGraphics

GraphicsPath() public method

public GraphicsPath ( Point pts, byte types ) : CoreGraphics
pts Point
types byte
return CoreGraphics

GraphicsPath() public method

public GraphicsPath ( Point pts, byte types, FillMode fillMode ) : CoreGraphics
pts Point
types byte
fillMode FillMode
return CoreGraphics

GraphicsPath() public method

public GraphicsPath ( PointF pts, byte types ) : CoreGraphics
pts PointF
types byte
return CoreGraphics

GraphicsPath() public method

public GraphicsPath ( PointF pts, byte types, FillMode fillMode ) : CoreGraphics
pts PointF
types byte
fillMode FillMode
return CoreGraphics

IsOutlineVisible() public method

public IsOutlineVisible ( Point point, Pen pen ) : bool
point Point
pen Pen
return bool

IsOutlineVisible() public method

public IsOutlineVisible ( Point pt, Pen pen, Graphics graphics ) : bool
pt Point
pen Pen
graphics Graphics
return bool

IsOutlineVisible() public method

public IsOutlineVisible ( PointF point, Pen pen ) : bool
point PointF
pen Pen
return bool

IsOutlineVisible() public method

public IsOutlineVisible ( PointF pt, Pen pen, Graphics graphics ) : bool
pt PointF
pen Pen
graphics Graphics
return bool

IsOutlineVisible() public method

public IsOutlineVisible ( float x, float y, Pen pen ) : bool
x float
y float
pen Pen
return bool

IsOutlineVisible() public method

public IsOutlineVisible ( float x, float y, Pen pen, Graphics graphics ) : bool
x float
y float
pen Pen
graphics Graphics
return bool

IsOutlineVisible() public method

public IsOutlineVisible ( int x, int y, Pen pen ) : bool
x int
y int
pen Pen
return bool

IsOutlineVisible() public method

public IsOutlineVisible ( int x, int y, Pen pen, Graphics graphics ) : bool
x int
y int
pen Pen
graphics Graphics
return bool

IsVisible() public method

public IsVisible ( Point point ) : bool
point Point
return bool

IsVisible() public method

public IsVisible ( Point point, Graphics graphics ) : bool
point Point
graphics Graphics
return bool

IsVisible() public method

public IsVisible ( PointF point ) : bool
point PointF
return bool

IsVisible() public method

public IsVisible ( PointF point, Graphics graphics ) : bool
point PointF
graphics Graphics
return bool

IsVisible() public method

public IsVisible ( float x, float y ) : bool
x float
y float
return bool

IsVisible() public method

public IsVisible ( float x, float y, Graphics graphics ) : bool
x float
y float
graphics Graphics
return bool

IsVisible() public method

public IsVisible ( int x, int y ) : bool
x int
y int
return bool

IsVisible() public method

public IsVisible ( int x, int y, Graphics graphics ) : bool
x int
y int
graphics Graphics
return bool

Reset() public method

public Reset ( ) : void
return void

Reverse() public method

public Reverse ( ) : void
return void

SetMarkers() public method

public SetMarkers ( ) : void
return void

StartFigure() public method

public StartFigure ( ) : void
return void

Transform() public method

public Transform ( Matrix matrix ) : void
matrix Matrix
return void

Warp() public method

public Warp ( PointF destPoints, RectangleF srcRect ) : void
destPoints PointF
srcRect RectangleF
return void

Warp() public method

public Warp ( PointF destPoints, RectangleF srcRect, Matrix matrix ) : void
destPoints PointF
srcRect RectangleF
matrix Matrix
return void

Warp() public method

public Warp ( PointF destPoints, RectangleF srcRect, Matrix matrix, WarpMode warpMode ) : void
destPoints PointF
srcRect RectangleF
matrix Matrix
warpMode WarpMode
return void

Warp() public method

public Warp ( PointF destPoints, RectangleF srcRect, Matrix matrix, WarpMode warpMode, float flatness ) : void
destPoints PointF
srcRect RectangleF
matrix Matrix
warpMode WarpMode
flatness float
return void

Widen() public method

public Widen ( Pen pen ) : void
pen Pen
return void

Widen() public method

public Widen ( Pen pen, Matrix matrix ) : void
pen Pen
matrix Matrix
return void

Widen() public method

public Widen ( Pen pen, Matrix matrix, float flatness ) : void
pen Pen
matrix Matrix
flatness float
return void