C# 클래스 Dalssoft.DiagramNet.DiagramUtil

Summary description for DiagramUtil.
파일 보기 프로젝트 열기: AlexandrSurkov/PKStudio 1 사용 예제들

공개 메소드들

메소드 설명
DisplayToCartesianCoord ( Point p, Rectangle referenceRec ) : Point
GetDirection ( Rectangle rec, Point point ) : CardinalDirection
GetInnerElements ( BaseElement el ) : Dalssoft.DiagramNet.BaseElement[]
GetInnerElementsCount ( BaseElement el ) : int
GetLowerPoint ( Point points ) : Point
GetRelativePoint ( Point location1, Point location2 ) : Point
GetUpperPoint ( Point points ) : Point
MeasureString ( string text, Font font ) : Size
MeasureString ( string text, Font font, PointF origin, StringFormat stringFormat ) : Size
MeasureString ( string text, Font font, SizeF layoutArea ) : Size
MeasureString ( string text, Font font, SizeF layoutArea, StringFormat stringFormat ) : Size
MeasureString ( string text, Font font, SizeF layoutArea, StringFormat stringFormat, int &charactersFitted, int &linesFilled ) : Size
MeasureString ( string text, Font font, int width ) : Size
MeasureString ( string text, Font font, int width, StringFormat format ) : Size
PointToAngle ( Point cartPoint ) : double

비공개 메소드들

메소드 설명
DiagramUtil ( ) : System

메소드 상세

DisplayToCartesianCoord() 공개 정적인 메소드

public static DisplayToCartesianCoord ( Point p, Rectangle referenceRec ) : Point
p Point
referenceRec System.Drawing.Rectangle
리턴 Point

GetDirection() 공개 정적인 메소드

public static GetDirection ( Rectangle rec, Point point ) : CardinalDirection
rec System.Drawing.Rectangle
point Point
리턴 CardinalDirection

GetInnerElements() 공개 정적인 메소드

public static GetInnerElements ( BaseElement el ) : Dalssoft.DiagramNet.BaseElement[]
el BaseElement
리턴 Dalssoft.DiagramNet.BaseElement[]

GetInnerElementsCount() 공개 정적인 메소드

public static GetInnerElementsCount ( BaseElement el ) : int
el BaseElement
리턴 int

GetLowerPoint() 공개 정적인 메소드

public static GetLowerPoint ( Point points ) : Point
points Point
리턴 Point

GetRelativePoint() 공개 정적인 메소드

public static GetRelativePoint ( Point location1, Point location2 ) : Point
location1 Point
location2 Point
리턴 Point

GetUpperPoint() 공개 정적인 메소드

public static GetUpperPoint ( Point points ) : Point
points Point
리턴 Point

MeasureString() 공개 정적인 메소드

public static MeasureString ( string text, Font font ) : Size
text string
font System.Drawing.Font
리턴 System.Drawing.Size

MeasureString() 공개 정적인 메소드

public static MeasureString ( string text, Font font, PointF origin, StringFormat stringFormat ) : Size
text string
font System.Drawing.Font
origin System.Drawing.PointF
stringFormat System.Drawing.StringFormat
리턴 System.Drawing.Size

MeasureString() 공개 정적인 메소드

public static MeasureString ( string text, Font font, SizeF layoutArea ) : Size
text string
font System.Drawing.Font
layoutArea System.Drawing.SizeF
리턴 System.Drawing.Size

MeasureString() 공개 정적인 메소드

public static MeasureString ( string text, Font font, SizeF layoutArea, StringFormat stringFormat ) : Size
text string
font System.Drawing.Font
layoutArea System.Drawing.SizeF
stringFormat System.Drawing.StringFormat
리턴 System.Drawing.Size

MeasureString() 공개 정적인 메소드

public static MeasureString ( string text, Font font, SizeF layoutArea, StringFormat stringFormat, int &charactersFitted, int &linesFilled ) : Size
text string
font System.Drawing.Font
layoutArea System.Drawing.SizeF
stringFormat System.Drawing.StringFormat
charactersFitted int
linesFilled int
리턴 System.Drawing.Size

MeasureString() 공개 정적인 메소드

public static MeasureString ( string text, Font font, int width ) : Size
text string
font System.Drawing.Font
width int
리턴 System.Drawing.Size

MeasureString() 공개 정적인 메소드

public static MeasureString ( string text, Font font, int width, StringFormat format ) : Size
text string
font System.Drawing.Font
width int
format System.Drawing.StringFormat
리턴 System.Drawing.Size

PointToAngle() 공개 정적인 메소드

public static PointToAngle ( Point cartPoint ) : double
cartPoint Point
리턴 double