C# Класс Praeclarum.Graphics.CoreGraphicsGraphics

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

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

Метод Описание
BeginEntity ( object entity ) : void
BeginLines ( bool rounded ) : void
Clear ( Color color ) : void
CoreGraphicsGraphics ( CGContext c, bool highQuality ) : System
DrawArc ( float cx, float cy, float radius, float startAngle, float endAngle, float w ) : void
DrawImage ( IImage img, float x, float y, float width, float height ) : void
DrawLine ( float sx, float sy, float ex, float ey, float w ) : void
DrawOval ( float x, float y, float width, float height, float w ) : void
DrawPolygon ( Polygon poly, float w ) : void
DrawRect ( float x, float y, float width, float height, float w ) : void
DrawRoundedRect ( float x, float y, float width, float height, float radius, float w ) : void
DrawString ( string s, float x, float y ) : void
DrawString ( string s, float x, float y, float width, float height, LineBreakMode lineBreak, TextAlignment align ) : void
EndLines ( ) : void
FillArc ( float cx, float cy, float radius, float startAngle, float endAngle ) : void
FillOval ( float x, float y, float width, float height ) : void
FillPolygon ( Polygon poly ) : void
FillRect ( float x, float y, float width, float height ) : void
FillRoundedRect ( float x, float y, float width, float height, float radius ) : void
GetFontMetrics ( ) : IFontMetrics
ImageFromFile ( string filename ) : IImage
RestoreState ( ) : void
SaveState ( ) : void
Scale ( float sx, float sy ) : void
SetClippingRect ( float x, float y, float width, float height ) : void
SetColor ( Color c ) : void
SetFont ( Font f ) : void
SetGradient ( Gradient g ) : void
Translate ( float dx, float dy ) : void

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

Метод Описание
CoreGraphicsGraphics ( ) : System
FillPath ( ) : void
FillPathWithGradient ( ) : void
SelectFont ( ) : void

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

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

public BeginEntity ( object entity ) : void
entity object
Результат void

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

public BeginLines ( bool rounded ) : void
rounded bool
Результат void

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

public Clear ( Color color ) : void
color Color
Результат void

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

public CoreGraphicsGraphics ( CGContext c, bool highQuality ) : System
c CGContext
highQuality bool
Результат System

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

public DrawArc ( float cx, float cy, float radius, float startAngle, float endAngle, float w ) : void
cx float
cy float
radius float
startAngle float
endAngle float
w float
Результат void

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

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

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

public DrawLine ( float sx, float sy, float ex, float ey, float w ) : void
sx float
sy float
ex float
ey float
w float
Результат void

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

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

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

public DrawPolygon ( Polygon poly, float w ) : void
poly Polygon
w float
Результат void

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

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

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

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

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

public DrawString ( string s, float x, float y ) : void
s string
x float
y float
Результат void

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

public DrawString ( string s, float x, float y, float width, float height, LineBreakMode lineBreak, TextAlignment align ) : void
s string
x float
y float
width float
height float
lineBreak LineBreakMode
align TextAlignment
Результат void

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

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

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

public FillArc ( float cx, float cy, float radius, float startAngle, float endAngle ) : void
cx float
cy float
radius float
startAngle float
endAngle float
Результат void

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

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

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

public FillPolygon ( Polygon poly ) : void
poly Polygon
Результат void

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

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

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

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

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

public GetFontMetrics ( ) : IFontMetrics
Результат IFontMetrics

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

public ImageFromFile ( string filename ) : IImage
filename string
Результат IImage

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

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

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

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

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

public Scale ( float sx, float sy ) : void
sx float
sy float
Результат void

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

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

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

public SetColor ( Color c ) : void
c Color
Результат void

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

public SetFont ( Font f ) : void
f Font
Результат void

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

public SetGradient ( Gradient g ) : void
g Gradient
Результат void

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

public Translate ( float dx, float dy ) : void
dx float
dy float
Результат void