C# 클래스 LitDev.LDFigures

파일 보기 프로젝트 열기: litdev1/LitDev

공개 메소드들

메소드 설명
AddArc ( Primitive width, Primitive height, Primitive startAngle, Primitive endAngle, Primitive thickness ) : Primitive

Add an arc shape.

AddBlockArrow ( Primitive width, Primitive height, Primitive thickness, Primitive arrowAngle, Primitive direction ) : Primitive

Add an block arrow shape.

AddCallout ( Primitive width, Primitive height, Primitive text, Primitive style, Primitive anchor ) : Primitive

Add a callout shape.

AddLineArrow ( Primitive width, Primitive height, Primitive size, Primitive bend, Primitive startArrow, Primitive endArrow, Primitive startCorner ) : Primitive

Add a line arrow shape.

AddRegularPolygon ( Primitive width, Primitive height, Primitive corners, Primitive radius ) : Primitive

Add a regular polygon shape.

비공개 메소드들

메소드 설명
AddFigure ( eFigure figure, double width, double height, Primitive properties ) : string
ExtractDll ( ) : void

메소드 상세

AddArc() 공개 정적인 메소드

Add an arc shape.
public static AddArc ( Primitive width, Primitive height, Primitive startAngle, Primitive endAngle, Primitive thickness ) : Primitive
width Primitive The width of the shape.
height Primitive The height of the shape.
startAngle Primitive The starting angle in degrees.
endAngle Primitive The ending angle in degrees.
thickness Primitive The thickness of the arc in pixels.
리턴 Primitive

AddBlockArrow() 공개 정적인 메소드

Add an block arrow shape.
public static AddBlockArrow ( Primitive width, Primitive height, Primitive thickness, Primitive arrowAngle, Primitive direction ) : Primitive
width Primitive The width of the shape.
height Primitive The height of the shape.
thickness Primitive The relative thickness of the arrow shaft, e.g. 0.25.
arrowAngle Primitive The arrow head angle in degrees.
direction Primitive The direction of the arrow: "Up", "Down", "Left" or "Right".
리턴 Primitive

AddCallout() 공개 정적인 메소드

Add a callout shape.
public static AddCallout ( Primitive width, Primitive height, Primitive text, Primitive style, Primitive anchor ) : Primitive
width Primitive The width of the shape.
height Primitive The height of the shape.
text Primitive The callout text.
style Primitive The callout style: "Cloud", "Oval", "Rectangle" or "RoundedRectangle".
anchor Primitive Position of callout anchor relative to the callout size (e.g. "X=0;Y=1.25;")
리턴 Primitive

AddLineArrow() 공개 정적인 메소드

Add a line arrow shape.
public static AddLineArrow ( Primitive width, Primitive height, Primitive size, Primitive bend, Primitive startArrow, Primitive endArrow, Primitive startCorner ) : Primitive
width Primitive The width of the shape.
height Primitive The height of the shape.
size Primitive The size of the arrow head in pixels.
bend Primitive The arrow bend amount (e.g. 0 is straight, 0.5 is smoothly bending).
startArrow Primitive The start arrow type: "None", "Arrow", "Open", "Oval" or "Stealth".
endArrow Primitive The end arrow type: "None", "Arrow", "Open", "Oval" or "Stealth".
startCorner Primitive The start corner position: "BottomLeft", "BottomRight", "TopLeft" or "TopRight". The arrow will terminate in the opposite corner.
리턴 Primitive

AddRegularPolygon() 공개 정적인 메소드

Add a regular polygon shape.
public static AddRegularPolygon ( Primitive width, Primitive height, Primitive corners, Primitive radius ) : Primitive
width Primitive The width of the shape.
height Primitive The height of the shape.
corners Primitive The number of corners.
radius Primitive A relative radius for star shapes (e.g. 1 for pentagon, 0.5 for 5 pointed star).
리턴 Primitive