C# Class PixelFarm.Agg.Canvas2dExtension

ファイルを表示 Open project: prepare/HTML-Renderer

Public Methods

Method Description
Circle ( this g, System.Vector2 origin, double radius, Color color ) : void
Circle ( this g, double x, double y, double radius, Color color ) : void
FillRectangle ( this gx, RectD rect, Color fillColor ) : void
FillRectangle ( this gx, RectInt rect, Color fillColor ) : void
FillRectangle ( this gx, System.Vector2 leftBottom, System.Vector2 rightTop, Color fillColor ) : void
FillRectangle ( this gx, double left, double bottom, double right, double top, Color fillColor ) : void
Rectangle ( this gx, RectD rect, Color color, double strokeWidth = 1 ) : void
Rectangle ( this gx, RectInt rect, Color color ) : void
Rectangle ( this gx, double left, double bottom, double right, double top, Color color, double strokeWidth = 1 ) : void

Private Methods

Method Description
GetFreeVxs ( ) : VertexStore
RelaseVxs ( VertexStore &vxs ) : void

Method Details

Circle() public static method

public static Circle ( this g, System.Vector2 origin, double radius, Color color ) : void
g this
origin System.Vector2
radius double
color Color
return void

Circle() public static method

public static Circle ( this g, double x, double y, double radius, Color color ) : void
g this
x double
y double
radius double
color Color
return void

FillRectangle() public static method

public static FillRectangle ( this gx, RectD rect, Color fillColor ) : void
gx this
rect RectD
fillColor Color
return void

FillRectangle() public static method

public static FillRectangle ( this gx, RectInt rect, Color fillColor ) : void
gx this
rect RectInt
fillColor Color
return void

FillRectangle() public static method

public static FillRectangle ( this gx, System.Vector2 leftBottom, System.Vector2 rightTop, Color fillColor ) : void
gx this
leftBottom System.Vector2
rightTop System.Vector2
fillColor Color
return void

FillRectangle() public static method

public static FillRectangle ( this gx, double left, double bottom, double right, double top, Color fillColor ) : void
gx this
left double
bottom double
right double
top double
fillColor Color
return void

Rectangle() public static method

public static Rectangle ( this gx, RectD rect, Color color, double strokeWidth = 1 ) : void
gx this
rect RectD
color Color
strokeWidth double
return void

Rectangle() public static method

public static Rectangle ( this gx, RectInt rect, Color color ) : void
gx this
rect RectInt
color Color
return void

Rectangle() public static method

public static Rectangle ( this gx, double left, double bottom, double right, double top, Color color, double strokeWidth = 1 ) : void
gx this
left double
bottom double
right double
top double
color Color
strokeWidth double
return void