C# Class DZLib.Geometry.DZGeometry.Polygon

Exibir arquivo Open project: DZ191/LeagueSharp

Public Properties

Property Type Description
Points List

Public Methods

Method Description
Add ( System.Vector2 point ) : void
Draw ( System.Drawing.Color color, int width = 1 ) : void
DrawLineInWorld ( System.Vector3 start, System.Vector3 end, int width, System.Drawing.Color color ) : void
IsInside ( System.Vector2 point ) : bool
ToClipperPath ( ) : System.Collections.Generic.List

Method Details

Add() public method

public Add ( System.Vector2 point ) : void
point System.Vector2
return void

Draw() public method

public Draw ( System.Drawing.Color color, int width = 1 ) : void
color System.Drawing.Color
width int
return void

DrawLineInWorld() public static method

public static DrawLineInWorld ( System.Vector3 start, System.Vector3 end, int width, System.Drawing.Color color ) : void
start System.Vector3
end System.Vector3
width int
color System.Drawing.Color
return void

IsInside() public method

public IsInside ( System.Vector2 point ) : bool
point System.Vector2
return bool

ToClipperPath() public method

public ToClipperPath ( ) : System.Collections.Generic.List
return System.Collections.Generic.List

Property Details

Points public_oe property

public List Points
return List