C# Класс Canguro.Controller.Snap.SnapPainter

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
PaintLineSegment ( Device device, GraphicView activeView, Point startPoint, Point endPoint, LineMagnetType type ) : void
PaintLineSegment ( Device device, GraphicView activeView, System.Vector3 startPos, Point endPoint, LineMagnetType type ) : void
PaintLineSegment ( Device device, GraphicView activeView, System.Vector3 startPos, System.Vector3 endPos, LineMagnetType type ) : void
PaintPointSymbol ( Device device, GraphicView activeView, Point magnet, PointMagnetType type, byte alpha ) : void
PaintPointSymbol ( Device device, GraphicView activeView, System.Vector3 magnet, PointMagnetType type, byte alpha ) : void

Приватные методы

Метод Описание
drawEndPoint ( Device device, float x, float y, Color colorWithAlpha ) : void
drawIntersectPoint ( Device device, float x, float y, Color colorWithAlpha ) : void
drawMidPoint ( Device device, float x, float y, Color colorWithAlpha ) : void
drawPerpPoint ( Device device, float x, float y, Color colorWithAlpha ) : void
drawPointSymbol ( Device device, float x, float y, PointMagnetType type, byte alpha ) : void
drawSegment ( Device device, float x0, float y0, float x1, float y1, LineMagnetType type ) : void
drawSimplePoint ( Device device, float x, float y, Color colorWithAlpha ) : void
followAxis ( Device device, float x0, float y0, float x1, float y1, int color, int stipplePattern ) : void

Описание методов

PaintLineSegment() публичный Метод

public PaintLineSegment ( Device device, GraphicView activeView, Point startPoint, Point endPoint, LineMagnetType type ) : void
device Device
activeView GraphicView
startPoint Point
endPoint Point
type LineMagnetType
Результат void

PaintLineSegment() публичный Метод

public PaintLineSegment ( Device device, GraphicView activeView, System.Vector3 startPos, Point endPoint, LineMagnetType type ) : void
device Device
activeView GraphicView
startPos System.Vector3
endPoint Point
type LineMagnetType
Результат void

PaintLineSegment() публичный Метод

public PaintLineSegment ( Device device, GraphicView activeView, System.Vector3 startPos, System.Vector3 endPos, LineMagnetType type ) : void
device Device
activeView GraphicView
startPos System.Vector3
endPos System.Vector3
type LineMagnetType
Результат void

PaintPointSymbol() публичный Метод

public PaintPointSymbol ( Device device, GraphicView activeView, Point magnet, PointMagnetType type, byte alpha ) : void
device Device
activeView GraphicView
magnet Point
type PointMagnetType
alpha byte
Результат void

PaintPointSymbol() публичный Метод

public PaintPointSymbol ( Device device, GraphicView activeView, System.Vector3 magnet, PointMagnetType type, byte alpha ) : void
device Device
activeView GraphicView
magnet System.Vector3
type PointMagnetType
alpha byte
Результат void