LinkDecorator.DoPaintShape 메서드
지정된 범위를 기준으로 하는 LinkShape에 LinkDecorator를 그립니다. 기본 그리기 코드는 데코레이터의 경로를 가져와서 LinkDecorator의 PenId 및 BrushId를 기반으로 그린 다음 채웁니다.
네임스페이스: Microsoft.VisualStudio.Modeling.Diagrams
어셈블리: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0(Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
구문
‘선언
Public Overridable Sub DoPaintShape ( _
bounds As RectangleD, _
shape As IGeometryHost, _
e As DiagramPaintEventArgs _
)
public virtual void DoPaintShape(
RectangleD bounds,
IGeometryHost shape,
DiagramPaintEventArgs e
)
매개 변수
- bounds
형식: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
decorator를 그릴 사각형입니다.
- shape
형식: Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost
이 데코레이터에 연결된 LinkShape입니다.
- e
형식: Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs
그리기 위한 그래픽 개체를 가져오는 데 사용되는 DiagramPaintEventArgs입니다.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.