C# 클래스 SVGGraphicsFill, UnitySVG

상속: ISVGPathDraw
파일 보기 프로젝트 열기: MrJoy/UnitySVG 1 사용 예제들

공개 메소드들

메소드 설명
ArcTo ( float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, Vector2 p ) : void
Circle ( Vector2 p, float r ) : void
Circle ( Vector2 p, float r, SVGColor, strokeColor ) : void
Circle ( Vector2 p, float r, SVGColor, fillColor, SVGColor, strokeColor ) : void
CircleTo ( Vector2 p, float r ) : void
CubicCurveTo ( Vector2 p1, Vector2 p2, Vector2 p ) : void
Ellipse ( Vector2 p, float rx, float ry, float angle ) : void
Ellipse ( Vector2 p, float rx, float ry, float angle, SVGColor, strokeColor ) : void
Ellipse ( Vector2 p, float rx, float ry, float angle, SVGColor, fillColor, SVGColor, strokeColor ) : void
EllipseTo ( Vector2 p, float rx, float ry, float angle ) : void
EndSubBuffer ( ) : void
EndSubBuffer ( SVGColor, strokePathColor ) : void
EndSubBuffer ( SVGLinearGradientBrush, linearGradientBrush ) : void
EndSubBuffer ( SVGLinearGradientBrush, linearGradientBrush, SVGColor, strokePathColor ) : void
EndSubBuffer ( SVGRadialGradientBrush, radialGradientBrush ) : void
EndSubBuffer ( SVGRadialGradientBrush, radialGradientBrush, SVGColor, strokePathColor ) : void
EndSubBuffer ( Vector2 points ) : void
Fill ( float x, float y ) : void
FillPath ( SVGColor, fillColor, SVGColor, strokePathColor, SVGGraphicsPath, graphicsPath ) : void
FillPath ( SVGColor, fillColor, SVGGraphicsPath, graphicsPath ) : void
FillPath ( SVGGraphicsPath, graphicsPath ) : void
FillPath ( SVGGraphicsPath, graphicsPath, Vector2 points ) : void
FillPath ( SVGLinearGradientBrush, linearGradientBrush, SVGColor, strokePathColor, SVGGraphicsPath, graphicsPath ) : void
FillPath ( SVGLinearGradientBrush, linearGradientBrush, SVGGraphicsPath, graphicsPath ) : void
FillPath ( SVGRadialGradientBrush, radialGradientBrush, SVGColor, strokePathColor, SVGGraphicsPath, graphicsPath ) : void
FillPath ( SVGRadialGradientBrush, radialGradientBrush, SVGGraphicsPath, graphicsPath ) : void
LineTo ( Vector2 p ) : void
MoveTo ( Vector2 p ) : void
Polygon ( Vector2 points ) : void
Polygon ( Vector2 points, SVGColor, strokeColor ) : void
Polygon ( Vector2 points, SVGColor, fillColor, SVGColor, strokeColor ) : void
QuadraticCurveTo ( Vector2 p1, Vector2 p ) : void
Rect ( Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4 ) : void
Rect ( Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, SVGColor, strokeColor ) : void
Rect ( Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, SVGColor, fillColor, SVGColor, strokeColor ) : void
ResetSubBuffer ( ) : void
RoundedRect ( Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p5, Vector2 p6, Vector2 p7, Vector2 p8, float r1, float r2, float angle ) : void
RoundedRect ( Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p5, Vector2 p6, Vector2 p7, Vector2 p8, float r1, float r2, float angle, SVGColor, strokeColor ) : void
RoundedRect ( Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p5, Vector2 p6, Vector2 p7, Vector2 p8, float r1, float r2, float angle, SVGColor, fillColor, SVGColor, strokeColor ) : void
SVGGraphicsFill ( SVGGraphics, _graphics ) : System
SetColor ( Color color ) : void

비공개 메소드들

메소드 설명
ExpandBounds ( Vector2 point ) : void
ExpandBounds ( Vector2 point, float dx, float dy ) : void
Fill ( int x, int y ) : void
FillInZone ( ) : void
PreCircle ( Vector2 p, float r ) : void
PreEllipse ( Vector2 p, float rx, float ry, float angle ) : void
PreEndSubBuffer ( ) : void
PrePolygon ( Vector2 points ) : void
PreRect ( Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4 ) : void
PreRoundedRect ( Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p5, Vector2 p6, Vector2 p7, Vector2 p8, float r1, float r2, float angle ) : void
SetPixelForFlag ( int x, int y ) : void
isInZone ( int x, int y ) : bool

메소드 상세

ArcTo() 공개 메소드

public ArcTo ( float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, Vector2 p ) : void
r1 float
r2 float
angle float
largeArcFlag bool
sweepFlag bool
p Vector2
리턴 void

Circle() 공개 메소드

public Circle ( Vector2 p, float r ) : void
p Vector2
r float
리턴 void

Circle() 공개 메소드

public Circle ( Vector2 p, float r, SVGColor, strokeColor ) : void
p Vector2
r float
strokeColor SVGColor,
리턴 void

Circle() 공개 메소드

public Circle ( Vector2 p, float r, SVGColor, fillColor, SVGColor, strokeColor ) : void
p Vector2
r float
fillColor SVGColor,
strokeColor SVGColor,
리턴 void

CircleTo() 공개 메소드

public CircleTo ( Vector2 p, float r ) : void
p Vector2
r float
리턴 void

CubicCurveTo() 공개 메소드

public CubicCurveTo ( Vector2 p1, Vector2 p2, Vector2 p ) : void
p1 Vector2
p2 Vector2
p Vector2
리턴 void

Ellipse() 공개 메소드

public Ellipse ( Vector2 p, float rx, float ry, float angle ) : void
p Vector2
rx float
ry float
angle float
리턴 void

Ellipse() 공개 메소드

public Ellipse ( Vector2 p, float rx, float ry, float angle, SVGColor, strokeColor ) : void
p Vector2
rx float
ry float
angle float
strokeColor SVGColor,
리턴 void

Ellipse() 공개 메소드

public Ellipse ( Vector2 p, float rx, float ry, float angle, SVGColor, fillColor, SVGColor, strokeColor ) : void
p Vector2
rx float
ry float
angle float
fillColor SVGColor,
strokeColor SVGColor,
리턴 void

EllipseTo() 공개 메소드

public EllipseTo ( Vector2 p, float rx, float ry, float angle ) : void
p Vector2
rx float
ry float
angle float
리턴 void

EndSubBuffer() 공개 메소드

public EndSubBuffer ( ) : void
리턴 void

EndSubBuffer() 공개 메소드

public EndSubBuffer ( SVGColor, strokePathColor ) : void
strokePathColor SVGColor,
리턴 void

EndSubBuffer() 공개 메소드

public EndSubBuffer ( SVGLinearGradientBrush, linearGradientBrush ) : void
linearGradientBrush SVGLinearGradientBrush,
리턴 void

EndSubBuffer() 공개 메소드

public EndSubBuffer ( SVGLinearGradientBrush, linearGradientBrush, SVGColor, strokePathColor ) : void
linearGradientBrush SVGLinearGradientBrush,
strokePathColor SVGColor,
리턴 void

EndSubBuffer() 공개 메소드

public EndSubBuffer ( SVGRadialGradientBrush, radialGradientBrush ) : void
radialGradientBrush SVGRadialGradientBrush,
리턴 void

EndSubBuffer() 공개 메소드

public EndSubBuffer ( SVGRadialGradientBrush, radialGradientBrush, SVGColor, strokePathColor ) : void
radialGradientBrush SVGRadialGradientBrush,
strokePathColor SVGColor,
리턴 void

EndSubBuffer() 공개 메소드

public EndSubBuffer ( Vector2 points ) : void
points Vector2
리턴 void

Fill() 공개 메소드

public Fill ( float x, float y ) : void
x float
y float
리턴 void

FillPath() 공개 메소드

public FillPath ( SVGColor, fillColor, SVGColor, strokePathColor, SVGGraphicsPath, graphicsPath ) : void
fillColor SVGColor,
strokePathColor SVGColor,
graphicsPath SVGGraphicsPath,
리턴 void

FillPath() 공개 메소드

public FillPath ( SVGColor, fillColor, SVGGraphicsPath, graphicsPath ) : void
fillColor SVGColor,
graphicsPath SVGGraphicsPath,
리턴 void

FillPath() 공개 메소드

public FillPath ( SVGGraphicsPath, graphicsPath ) : void
graphicsPath SVGGraphicsPath,
리턴 void

FillPath() 공개 메소드

public FillPath ( SVGGraphicsPath, graphicsPath, Vector2 points ) : void
graphicsPath SVGGraphicsPath,
points Vector2
리턴 void

FillPath() 공개 메소드

public FillPath ( SVGLinearGradientBrush, linearGradientBrush, SVGColor, strokePathColor, SVGGraphicsPath, graphicsPath ) : void
linearGradientBrush SVGLinearGradientBrush,
strokePathColor SVGColor,
graphicsPath SVGGraphicsPath,
리턴 void

FillPath() 공개 메소드

public FillPath ( SVGLinearGradientBrush, linearGradientBrush, SVGGraphicsPath, graphicsPath ) : void
linearGradientBrush SVGLinearGradientBrush,
graphicsPath SVGGraphicsPath,
리턴 void

FillPath() 공개 메소드

public FillPath ( SVGRadialGradientBrush, radialGradientBrush, SVGColor, strokePathColor, SVGGraphicsPath, graphicsPath ) : void
radialGradientBrush SVGRadialGradientBrush,
strokePathColor SVGColor,
graphicsPath SVGGraphicsPath,
리턴 void

FillPath() 공개 메소드

public FillPath ( SVGRadialGradientBrush, radialGradientBrush, SVGGraphicsPath, graphicsPath ) : void
radialGradientBrush SVGRadialGradientBrush,
graphicsPath SVGGraphicsPath,
리턴 void

LineTo() 공개 메소드

public LineTo ( Vector2 p ) : void
p Vector2
리턴 void

MoveTo() 공개 메소드

public MoveTo ( Vector2 p ) : void
p Vector2
리턴 void

Polygon() 공개 메소드

public Polygon ( Vector2 points ) : void
points Vector2
리턴 void

Polygon() 공개 메소드

public Polygon ( Vector2 points, SVGColor, strokeColor ) : void
points Vector2
strokeColor SVGColor,
리턴 void

Polygon() 공개 메소드

public Polygon ( Vector2 points, SVGColor, fillColor, SVGColor, strokeColor ) : void
points Vector2
fillColor SVGColor,
strokeColor SVGColor,
리턴 void

QuadraticCurveTo() 공개 메소드

public QuadraticCurveTo ( Vector2 p1, Vector2 p ) : void
p1 Vector2
p Vector2
리턴 void

Rect() 공개 메소드

public Rect ( Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4 ) : void
p1 Vector2
p2 Vector2
p3 Vector2
p4 Vector2
리턴 void

Rect() 공개 메소드

public Rect ( Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, SVGColor, strokeColor ) : void
p1 Vector2
p2 Vector2
p3 Vector2
p4 Vector2
strokeColor SVGColor,
리턴 void

Rect() 공개 메소드

public Rect ( Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, SVGColor, fillColor, SVGColor, strokeColor ) : void
p1 Vector2
p2 Vector2
p3 Vector2
p4 Vector2
fillColor SVGColor,
strokeColor SVGColor,
리턴 void

ResetSubBuffer() 공개 메소드

public ResetSubBuffer ( ) : void
리턴 void

RoundedRect() 공개 메소드

public RoundedRect ( Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p5, Vector2 p6, Vector2 p7, Vector2 p8, float r1, float r2, float angle ) : void
p1 Vector2
p2 Vector2
p3 Vector2
p4 Vector2
p5 Vector2
p6 Vector2
p7 Vector2
p8 Vector2
r1 float
r2 float
angle float
리턴 void

RoundedRect() 공개 메소드

public RoundedRect ( Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p5, Vector2 p6, Vector2 p7, Vector2 p8, float r1, float r2, float angle, SVGColor, strokeColor ) : void
p1 Vector2
p2 Vector2
p3 Vector2
p4 Vector2
p5 Vector2
p6 Vector2
p7 Vector2
p8 Vector2
r1 float
r2 float
angle float
strokeColor SVGColor,
리턴 void

RoundedRect() 공개 메소드

public RoundedRect ( Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p5, Vector2 p6, Vector2 p7, Vector2 p8, float r1, float r2, float angle, SVGColor, fillColor, SVGColor, strokeColor ) : void
p1 Vector2
p2 Vector2
p3 Vector2
p4 Vector2
p5 Vector2
p6 Vector2
p7 Vector2
p8 Vector2
r1 float
r2 float
angle float
fillColor SVGColor,
strokeColor SVGColor,
리턴 void

SVGGraphicsFill() 공개 메소드

public SVGGraphicsFill ( SVGGraphics, _graphics ) : System
_graphics SVGGraphics,
리턴 System

SetColor() 공개 메소드

public SetColor ( Color color ) : void
color Color
리턴 void