NodeShapeGeometry.DrawResizeableGrabHandles 方法
繪製且可調整大小會抓取控點,在圖形上。抓取控點也會指示焦點。
命名空間: Microsoft.VisualStudio.Modeling.Diagrams
組件: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)
語法
'宣告
Protected Shared Sub DrawResizeableGrabHandles ( _
g As Graphics, _
styleSet As StyleSet, _
innerSelectionRectangle As RectangleF, _
selectionThickness As SizeF, _
isPrimary As Boolean, _
canResizeLeft As Boolean, _
canResizeTop As Boolean, _
canResizeRight As Boolean, _
canResizeBottom As Boolean _
)
protected static void DrawResizeableGrabHandles(
Graphics g,
StyleSet styleSet,
RectangleF innerSelectionRectangle,
SizeF selectionThickness,
bool isPrimary,
bool canResizeLeft,
bool canResizeTop,
bool canResizeRight,
bool canResizeBottom
)
參數
- innerSelectionRectangle
型別:System.Drawing.RectangleF
- selectionThickness
型別:System.Drawing.SizeF
- isPrimary
型別:System.Boolean
- canResizeLeft
型別:System.Boolean
- canResizeTop
型別:System.Boolean
- canResizeRight
型別:System.Boolean
- canResizeBottom
型別:System.Boolean
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。