Calculates the size of the smallest rectangle that can contain the rotated rectangle of a given size, based on the part's GenericPartClass.Angle property.
Class: GenericPartClass
Namespace: Softelvdm.Controls
Assembly: Softelvdm.SftTreeNET
protected SizeF CalcRotatedSize( SizeF szf );
Protected Function CalcRotatedSize( ByVal szf As SizeF ) As SizeF
szf
The size of the rectangle for which the containing, rotated rectangle size is to be determined.
The size of the smallest containing rectangle.
Calculates the size of the smallest rectangle that can contain the rotated rectangle of a given size, based on the part's GenericPartClass.Angle property.
This method is typically used to determine the rectangular space occupied by a rotated part.
See Also GenericPartClass Class | Classes | SftTree/NET 2.0