Subtract padding space from specified rectangle.
Namespace: MindFusion
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public static Rect ApplyPadding ( |
Visual Basic Copy Code |
---|
Public Shared Function ApplyPadding( _ |
A Rect instance.
A Thickness instance specifying padding size.
A double value specifying default padding.
The padded rectangle.