C# 클래스 SVGGraphicsPath, UnitySVG

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

공개 프로퍼티들

프로퍼티 타입 설명
fillRule SVGFillRule

공개 메소드들

메소드 설명
Add ( SVGCircleElement, circleElement ) : void
Add ( SVGEllipseElement, ellipseElement ) : void
Add ( SVGPolygonElement, polygonElement ) : void
Add ( SVGPolylineElement, polylineElement ) : void
Add ( SVGRectElement, rectElement ) : void
AddArcTo ( float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, Vector2 p ) : void
AddCircleTo ( Vector2 p, float r ) : void
AddCubicCurveTo ( Vector2 p1, Vector2 p2, Vector2 p ) : void
AddEllipseTo ( Vector2 p, float r1, float r2, float angle ) : void
AddLineTo ( Vector2 p ) : void
AddMoveTo ( Vector2 p ) : void
AddQuadraticCurveTo ( Vector2 p1, Vector2 p ) : void
ExpandBounds ( List points ) : void
ExpandBounds ( Vector2 point ) : void
ExpandBounds ( Vector2 point, float deltax, float deltay ) : void
ExpandBounds ( float x, float y ) : void
GetBound ( ) : Rect
RenderPath ( ISVGPathDraw pathDraw, bool isClose ) : void
Reset ( ) : void
SVGGraphicsPath ( ) : System.Collections.Generic

비공개 메소드들

메소드 설명
ExpandBounds ( float x, float y, float dx, float dy ) : void
SetFirstPoint ( Vector2 p ) : void

메소드 상세

Add() 공개 메소드

public Add ( SVGCircleElement, circleElement ) : void
circleElement SVGCircleElement,
리턴 void

Add() 공개 메소드

public Add ( SVGEllipseElement, ellipseElement ) : void
ellipseElement SVGEllipseElement,
리턴 void

Add() 공개 메소드

public Add ( SVGPolygonElement, polygonElement ) : void
polygonElement SVGPolygonElement,
리턴 void

Add() 공개 메소드

public Add ( SVGPolylineElement, polylineElement ) : void
polylineElement SVGPolylineElement,
리턴 void

Add() 공개 메소드

public Add ( SVGRectElement, rectElement ) : void
rectElement SVGRectElement,
리턴 void

AddArcTo() 공개 메소드

public AddArcTo ( 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

AddCircleTo() 공개 메소드

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

AddCubicCurveTo() 공개 메소드

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

AddEllipseTo() 공개 메소드

public AddEllipseTo ( Vector2 p, float r1, float r2, float angle ) : void
p Vector2
r1 float
r2 float
angle float
리턴 void

AddLineTo() 공개 메소드

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

AddMoveTo() 공개 메소드

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

AddQuadraticCurveTo() 공개 메소드

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

ExpandBounds() 공개 메소드

public ExpandBounds ( List points ) : void
points List
리턴 void

ExpandBounds() 공개 메소드

public ExpandBounds ( Vector2 point ) : void
point Vector2
리턴 void

ExpandBounds() 공개 메소드

public ExpandBounds ( Vector2 point, float deltax, float deltay ) : void
point Vector2
deltax float
deltay float
리턴 void

ExpandBounds() 공개 메소드

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

GetBound() 공개 메소드

public GetBound ( ) : Rect
리턴 Rect

RenderPath() 공개 메소드

public RenderPath ( ISVGPathDraw pathDraw, bool isClose ) : void
pathDraw ISVGPathDraw
isClose bool
리턴 void

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

SVGGraphicsPath() 공개 메소드

public SVGGraphicsPath ( ) : System.Collections.Generic
리턴 System.Collections.Generic

프로퍼티 상세

fillRule 공개적으로 프로퍼티

public SVGFillRule fillRule
리턴 SVGFillRule