C# 클래스 Smrf.NodeXL.Visualization.Wpf.VertexAndEdgeDrawerBase

Base class for classes that draw vertices and edges.
상속: DrawerBase
파일 보기 프로젝트 열기: 2014-sed-team3/term-project

보호된 프로퍼티들

프로퍼티 타입 설명
DefaultDashStyle System.Windows.Media.DashStyle
m_bUseSelection System.Boolean
m_btFilteredAlpha Byte
m_iMaximumLabelLength System.Int32
m_oColor Color
m_oDefaultBrush System.Windows.Media.SolidColorBrush
m_oDefaultPen System.Windows.Media.Pen
m_oFormattedTextManager FormattedTextManager
m_oSelectedColor Color

공개 메소드들

메소드 설명
AssertValid ( ) : void
GetDrawAsSelected ( IMetadataProvider vertexOrEdge ) : System.Boolean
GetVisibility ( IMetadataProvider vertexOrEdge ) : VisibilityKeyValue
SetFont ( System.Windows.Media.Typeface typeface, Double fontSize ) : void
VertexAndEdgeDrawerBase ( ) : System

Initializes a new instance of the class.

보호된 메소드들

메소드 설명
CreateDrawingObjects ( ) : void
GetAlpha ( IMetadataProvider oVertexOrEdge, VisibilityKeyValue eVisibility, Byte btDefaultAlpha ) : Byte
GetBrush ( Color oColor ) : SolidColorBrush
GetColor ( IMetadataProvider oVertexOrEdge, VisibilityKeyValue eVisibility, System.Boolean bDrawAsSelected ) : Color
GetColor ( IMetadataProvider oVertexOrEdge, VisibilityKeyValue eVisibility, String sKey, Color oDefaultColor, System.Boolean bApplyAlpha ) : Color
GetPen ( Color oColor, Double dThickness ) : System.Windows.Media.Pen
GetPen ( Color oColor, Double dThickness, System.Windows.Media.DashStyle oDashStyle ) : System.Windows.Media.Pen
TruncateLabel ( String sLabel ) : String

메소드 상세

AssertValid() 공개 메소드

public AssertValid ( ) : void
리턴 void

CreateDrawingObjects() 보호된 메소드

protected CreateDrawingObjects ( ) : void
리턴 void

GetAlpha() 보호된 메소드

protected GetAlpha ( IMetadataProvider oVertexOrEdge, VisibilityKeyValue eVisibility, Byte btDefaultAlpha ) : Byte
oVertexOrEdge IMetadataProvider
eVisibility VisibilityKeyValue
btDefaultAlpha Byte
리턴 Byte

GetBrush() 보호된 메소드

protected GetBrush ( Color oColor ) : SolidColorBrush
oColor Color
리턴 System.Windows.Media.SolidColorBrush

GetColor() 보호된 메소드

protected GetColor ( IMetadataProvider oVertexOrEdge, VisibilityKeyValue eVisibility, System.Boolean bDrawAsSelected ) : Color
oVertexOrEdge IMetadataProvider
eVisibility VisibilityKeyValue
bDrawAsSelected System.Boolean
리턴 Color

GetColor() 보호된 메소드

protected GetColor ( IMetadataProvider oVertexOrEdge, VisibilityKeyValue eVisibility, String sKey, Color oDefaultColor, System.Boolean bApplyAlpha ) : Color
oVertexOrEdge IMetadataProvider
eVisibility VisibilityKeyValue
sKey String
oDefaultColor Color
bApplyAlpha System.Boolean
리턴 Color

GetDrawAsSelected() 공개 메소드

public GetDrawAsSelected ( IMetadataProvider vertexOrEdge ) : System.Boolean
vertexOrEdge IMetadataProvider
리턴 System.Boolean

GetPen() 보호된 메소드

protected GetPen ( Color oColor, Double dThickness ) : System.Windows.Media.Pen
oColor Color
dThickness Double
리턴 System.Windows.Media.Pen

GetPen() 보호된 메소드

protected GetPen ( Color oColor, Double dThickness, System.Windows.Media.DashStyle oDashStyle ) : System.Windows.Media.Pen
oColor Color
dThickness Double
oDashStyle System.Windows.Media.DashStyle
리턴 System.Windows.Media.Pen

GetVisibility() 공개 정적인 메소드

public static GetVisibility ( IMetadataProvider vertexOrEdge ) : VisibilityKeyValue
vertexOrEdge IMetadataProvider
리턴 VisibilityKeyValue

SetFont() 공개 메소드

public SetFont ( System.Windows.Media.Typeface typeface, Double fontSize ) : void
typeface System.Windows.Media.Typeface
fontSize Double
리턴 void

TruncateLabel() 보호된 메소드

protected TruncateLabel ( String sLabel ) : String
sLabel String
리턴 String

VertexAndEdgeDrawerBase() 공개 메소드

Initializes a new instance of the class.
public VertexAndEdgeDrawerBase ( ) : System
리턴 System

프로퍼티 상세

DefaultDashStyle 보호되어 있는 정적으로 프로퍼티

protected static DashStyle,System.Windows.Media DefaultDashStyle
리턴 System.Windows.Media.DashStyle

m_bUseSelection 보호되어 있는 프로퍼티

protected Boolean,System m_bUseSelection
리턴 System.Boolean

m_btFilteredAlpha 보호되어 있는 프로퍼티

protected Byte m_btFilteredAlpha
리턴 Byte

m_iMaximumLabelLength 보호되어 있는 프로퍼티

protected Int32,System m_iMaximumLabelLength
리턴 System.Int32

m_oColor 보호되어 있는 프로퍼티

protected Color m_oColor
리턴 Color

m_oDefaultBrush 보호되어 있는 프로퍼티

protected SolidColorBrush,System.Windows.Media m_oDefaultBrush
리턴 System.Windows.Media.SolidColorBrush

m_oDefaultPen 보호되어 있는 프로퍼티

protected Pen,System.Windows.Media m_oDefaultPen
리턴 System.Windows.Media.Pen

m_oFormattedTextManager 보호되어 있는 프로퍼티

protected FormattedTextManager,Smrf.NodeXL.Visualization.Wpf m_oFormattedTextManager
리턴 FormattedTextManager

m_oSelectedColor 보호되어 있는 프로퍼티

protected Color m_oSelectedColor
리턴 Color