GoDiagram Win Reference
ExpandPointOnEdge Method

This is a convenience method for shifting a point on the edge of the given rectangle's bounds out by some distance.
Syntax
'Declaration
 
Public Shared Function ExpandPointOnEdge( _
   ByVal p As PointF, _
   ByVal rect As RectangleF, _
   ByVal shift As Single _
) As PointF
public static PointF ExpandPointOnEdge( 
   PointF p,
   RectangleF rect,
   float shift
)

Parameters

p
rect
shift

Return Value

if p had been on the edge of the rectangle, the value will be shifted out by the shift in either or both directions; otherwise the unmodified p is returned
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoShape Class
GoShape Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback