C# Class SVGGraphicsPath, UnitySVG

Afficher le fichier Open project: MrJoy/UnitySVG Class Usage Examples

Méthodes publiques

Свойство Type Description
fillRule SVGFillRule

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
ExpandBounds ( float x, float y, float dx, float dy ) : void
SetFirstPoint ( Vector2 p ) : void

Method Details

Add() public méthode

public Add ( SVGCircleElement, circleElement ) : void
circleElement SVGCircleElement,
Résultat void

Add() public méthode

public Add ( SVGEllipseElement, ellipseElement ) : void
ellipseElement SVGEllipseElement,
Résultat void

Add() public méthode

public Add ( SVGPolygonElement, polygonElement ) : void
polygonElement SVGPolygonElement,
Résultat void

Add() public méthode

public Add ( SVGPolylineElement, polylineElement ) : void
polylineElement SVGPolylineElement,
Résultat void

Add() public méthode

public Add ( SVGRectElement, rectElement ) : void
rectElement SVGRectElement,
Résultat void

AddArcTo() public méthode

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
Résultat void

AddCircleTo() public méthode

public AddCircleTo ( Vector2 p, float r ) : void
p Vector2
r float
Résultat void

AddCubicCurveTo() public méthode

public AddCubicCurveTo ( Vector2 p1, Vector2 p2, Vector2 p ) : void
p1 Vector2
p2 Vector2
p Vector2
Résultat void

AddEllipseTo() public méthode

public AddEllipseTo ( Vector2 p, float r1, float r2, float angle ) : void
p Vector2
r1 float
r2 float
angle float
Résultat void

AddLineTo() public méthode

public AddLineTo ( Vector2 p ) : void
p Vector2
Résultat void

AddMoveTo() public méthode

public AddMoveTo ( Vector2 p ) : void
p Vector2
Résultat void

AddQuadraticCurveTo() public méthode

public AddQuadraticCurveTo ( Vector2 p1, Vector2 p ) : void
p1 Vector2
p Vector2
Résultat void

ExpandBounds() public méthode

public ExpandBounds ( List points ) : void
points List
Résultat void

ExpandBounds() public méthode

public ExpandBounds ( Vector2 point ) : void
point Vector2
Résultat void

ExpandBounds() public méthode

public ExpandBounds ( Vector2 point, float deltax, float deltay ) : void
point Vector2
deltax float
deltay float
Résultat void

ExpandBounds() public méthode

public ExpandBounds ( float x, float y ) : void
x float
y float
Résultat void

GetBound() public méthode

public GetBound ( ) : Rect
Résultat Rect

RenderPath() public méthode

public RenderPath ( ISVGPathDraw pathDraw, bool isClose ) : void
pathDraw ISVGPathDraw
isClose bool
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

SVGGraphicsPath() public méthode

public SVGGraphicsPath ( ) : System.Collections.Generic
Résultat System.Collections.Generic

Property Details

fillRule public_oe property

public SVGFillRule fillRule
Résultat SVGFillRule