C# Класс System.Drawing.Drawing2D.GraphicsPath

Наследование: MarshalByRefObject, ICloneable, IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

AddArc() публичный Метод

public AddArc ( Rectangle rect, float start_angle, float sweep_angle ) : void
rect Rectangle
start_angle float
sweep_angle float
Результат void

AddArc() публичный Метод

public AddArc ( RectangleF rect, float start_angle, float sweep_angle ) : void
rect RectangleF
start_angle float
sweep_angle float
Результат void

AddArc() публичный Метод

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
Результат void

AddArc() публичный Метод

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
Результат void

AddBezier() публичный Метод

public AddBezier ( Point pt1, Point pt2, Point pt3, Point pt4 ) : void
pt1 Point
pt2 Point
pt3 Point
pt4 Point
Результат void

AddBezier() публичный Метод

public AddBezier ( PointF pt1, PointF pt2, PointF pt3, PointF pt4 ) : void
pt1 PointF
pt2 PointF
pt3 PointF
pt4 PointF
Результат void

AddBezier() публичный Метод

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
Результат void

AddBezier() публичный Метод

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
Результат void

AddBeziers() публичный Метод

public AddBeziers ( ) : void
Результат void

AddClosedCurve() публичный Метод

public AddClosedCurve ( Point points ) : void
points Point
Результат void

AddClosedCurve() публичный Метод

public AddClosedCurve ( Point points, float tension ) : void
points Point
tension float
Результат void

AddClosedCurve() публичный Метод

public AddClosedCurve ( PointF points ) : void
points PointF
Результат void

AddClosedCurve() публичный Метод

public AddClosedCurve ( PointF points, float tension ) : void
points PointF
tension float
Результат void

AddCurve() публичный Метод

public AddCurve ( Point points ) : void
points Point
Результат void

AddCurve() публичный Метод

public AddCurve ( Point points, float tension ) : void
points Point
tension float
Результат void

AddCurve() публичный Метод

public AddCurve ( Point points, int offset, int numberOfSegments, float tension ) : void
points Point
offset int
numberOfSegments int
tension float
Результат void

AddCurve() публичный Метод

public AddCurve ( PointF points ) : void
points PointF
Результат void

AddCurve() публичный Метод

public AddCurve ( PointF points, float tension ) : void
points PointF
tension float
Результат void

AddCurve() публичный Метод

public AddCurve ( PointF points, int offset, int numberOfSegments, float tension ) : void
points PointF
offset int
numberOfSegments int
tension float
Результат void

AddEllipse() публичный Метод

public AddEllipse ( Rectangle rect ) : void
rect Rectangle
Результат void

AddEllipse() публичный Метод

public AddEllipse ( RectangleF rect ) : void
rect RectangleF
Результат void

AddEllipse() публичный Метод

public AddEllipse ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
Результат void

AddEllipse() публичный Метод

public AddEllipse ( int x, int y, int width, int height ) : void
x int
y int
width int
height int
Результат void

AddLine() публичный Метод

public AddLine ( Point pt1, Point pt2 ) : void
pt1 Point
pt2 Point
Результат void

AddLine() публичный Метод

public AddLine ( PointF pt1, PointF pt2 ) : void
pt1 PointF
pt2 PointF
Результат void

AddLine() публичный Метод

public AddLine ( float x1, float y1, float x2, float y2 ) : void
x1 float
y1 float
x2 float
y2 float
Результат void

AddLine() публичный Метод

public AddLine ( int x1, int y1, int x2, int y2 ) : void
x1 int
y1 int
x2 int
y2 int
Результат void

AddLines() публичный Метод

public AddLines ( Point points ) : void
points Point
Результат void

AddLines() публичный Метод

public AddLines ( PointF points ) : void
points PointF
Результат void

AddPath() публичный Метод

public AddPath ( GraphicsPath addingPath, bool connect ) : void
addingPath GraphicsPath
connect bool
Результат void

AddPie() публичный Метод

public AddPie ( Rectangle rect, float startAngle, float sweepAngle ) : void
rect Rectangle
startAngle float
sweepAngle float
Результат void

AddPie() публичный Метод

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
Результат void

AddPie() публичный Метод

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
Результат void

AddPolygon() публичный Метод

public AddPolygon ( Point points ) : void
points Point
Результат void

AddPolygon() публичный Метод

public AddPolygon ( PointF points ) : void
points PointF
Результат void

AddRectangle() публичный Метод

public AddRectangle ( Rectangle rect ) : void
rect Rectangle
Результат void

AddRectangle() публичный Метод

public AddRectangle ( RectangleF rect ) : void
rect RectangleF
Результат void

AddRectangles() публичный Метод

public AddRectangles ( Rectangle rects ) : void
rects Rectangle
Результат void

AddRectangles() публичный Метод

public AddRectangles ( RectangleF rects ) : void
rects RectangleF
Результат void

AddString() публичный Метод

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
Результат void

AddString() публичный Метод

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
Результат void

AddString() публичный Метод

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
Результат void

AddString() публичный Метод

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
Результат void

ClearMarkers() публичный Метод

public ClearMarkers ( ) : void
Результат void

Clone() публичный Метод

public Clone ( ) : object
Результат object

CloseAllFigures() публичный Метод

public CloseAllFigures ( ) : void
Результат void

CloseFigure() публичный Метод

public CloseFigure ( ) : void
Результат void

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Flatten() публичный Метод

public Flatten ( ) : void
Результат void

Flatten() публичный Метод

public Flatten ( Matrix matrix ) : void
matrix Matrix
Результат void

Flatten() публичный Метод

public Flatten ( Matrix matrix, float flatness ) : void
matrix Matrix
flatness float
Результат void

GetBounds() публичный Метод

public GetBounds ( ) : RectangleF
Результат RectangleF

GetBounds() публичный Метод

public GetBounds ( Matrix matrix ) : RectangleF
matrix Matrix
Результат RectangleF

GetBounds() публичный Метод

public GetBounds ( Matrix matrix, Pen pen ) : RectangleF
matrix Matrix
pen Pen
Результат RectangleF

GetLastPoint() публичный Метод

public GetLastPoint ( ) : PointF
Результат PointF

GraphicsPath() публичный Метод

public GraphicsPath ( ) : CoreGraphics
Результат CoreGraphics

GraphicsPath() публичный Метод

public GraphicsPath ( FillMode fillMode ) : CoreGraphics
fillMode FillMode
Результат CoreGraphics

GraphicsPath() публичный Метод

public GraphicsPath ( Point pts, byte types ) : CoreGraphics
pts Point
types byte
Результат CoreGraphics

GraphicsPath() публичный Метод

public GraphicsPath ( Point pts, byte types, FillMode fillMode ) : CoreGraphics
pts Point
types byte
fillMode FillMode
Результат CoreGraphics

GraphicsPath() публичный Метод

public GraphicsPath ( PointF pts, byte types ) : CoreGraphics
pts PointF
types byte
Результат CoreGraphics

GraphicsPath() публичный Метод

public GraphicsPath ( PointF pts, byte types, FillMode fillMode ) : CoreGraphics
pts PointF
types byte
fillMode FillMode
Результат CoreGraphics

IsOutlineVisible() публичный Метод

public IsOutlineVisible ( Point point, Pen pen ) : bool
point Point
pen Pen
Результат bool

IsOutlineVisible() публичный Метод

public IsOutlineVisible ( Point pt, Pen pen, Graphics graphics ) : bool
pt Point
pen Pen
graphics Graphics
Результат bool

IsOutlineVisible() публичный Метод

public IsOutlineVisible ( PointF point, Pen pen ) : bool
point PointF
pen Pen
Результат bool

IsOutlineVisible() публичный Метод

public IsOutlineVisible ( PointF pt, Pen pen, Graphics graphics ) : bool
pt PointF
pen Pen
graphics Graphics
Результат bool

IsOutlineVisible() публичный Метод

public IsOutlineVisible ( float x, float y, Pen pen ) : bool
x float
y float
pen Pen
Результат bool

IsOutlineVisible() публичный Метод

public IsOutlineVisible ( float x, float y, Pen pen, Graphics graphics ) : bool
x float
y float
pen Pen
graphics Graphics
Результат bool

IsOutlineVisible() публичный Метод

public IsOutlineVisible ( int x, int y, Pen pen ) : bool
x int
y int
pen Pen
Результат bool

IsOutlineVisible() публичный Метод

public IsOutlineVisible ( int x, int y, Pen pen, Graphics graphics ) : bool
x int
y int
pen Pen
graphics Graphics
Результат bool

IsVisible() публичный Метод

public IsVisible ( Point point ) : bool
point Point
Результат bool

IsVisible() публичный Метод

public IsVisible ( Point point, Graphics graphics ) : bool
point Point
graphics Graphics
Результат bool

IsVisible() публичный Метод

public IsVisible ( PointF point ) : bool
point PointF
Результат bool

IsVisible() публичный Метод

public IsVisible ( PointF point, Graphics graphics ) : bool
point PointF
graphics Graphics
Результат bool

IsVisible() публичный Метод

public IsVisible ( float x, float y ) : bool
x float
y float
Результат bool

IsVisible() публичный Метод

public IsVisible ( float x, float y, Graphics graphics ) : bool
x float
y float
graphics Graphics
Результат bool

IsVisible() публичный Метод

public IsVisible ( int x, int y ) : bool
x int
y int
Результат bool

IsVisible() публичный Метод

public IsVisible ( int x, int y, Graphics graphics ) : bool
x int
y int
graphics Graphics
Результат bool

Reset() публичный Метод

public Reset ( ) : void
Результат void

Reverse() публичный Метод

public Reverse ( ) : void
Результат void

SetMarkers() публичный Метод

public SetMarkers ( ) : void
Результат void

StartFigure() публичный Метод

public StartFigure ( ) : void
Результат void

Transform() публичный Метод

public Transform ( Matrix matrix ) : void
matrix Matrix
Результат void

Warp() публичный Метод

public Warp ( PointF destPoints, RectangleF srcRect ) : void
destPoints PointF
srcRect RectangleF
Результат void

Warp() публичный Метод

public Warp ( PointF destPoints, RectangleF srcRect, Matrix matrix ) : void
destPoints PointF
srcRect RectangleF
matrix Matrix
Результат void

Warp() публичный Метод

public Warp ( PointF destPoints, RectangleF srcRect, Matrix matrix, WarpMode warpMode ) : void
destPoints PointF
srcRect RectangleF
matrix Matrix
warpMode WarpMode
Результат void

Warp() публичный Метод

public Warp ( PointF destPoints, RectangleF srcRect, Matrix matrix, WarpMode warpMode, float flatness ) : void
destPoints PointF
srcRect RectangleF
matrix Matrix
warpMode WarpMode
flatness float
Результат void

Widen() публичный Метод

public Widen ( Pen pen ) : void
pen Pen
Результат void

Widen() публичный Метод

public Widen ( Pen pen, Matrix matrix ) : void
pen Pen
matrix Matrix
Результат void

Widen() публичный Метод

public Widen ( Pen pen, Matrix matrix, float flatness ) : void
pen Pen
matrix Matrix
flatness float
Результат void