Modifies the input rectangle R to be centered within the bounding rectangle. The modified R rectangle is returned.
Namespace: RSGraphics
Parameters
R
Type: System.Void
Rectangle to center
Bounds
Type: System.Void
Bounding rectangle
Return Value
Type: TRSRect
Reference
•RSGraphics.OffsetRSRect(TRSRect,Single,Single) •RSGraphics.RSCenterPoint(TRSPoint,TRSPoint,Single) •RSGraphics.CenterRect(Integer,Integer,Integer,Integer) •RSGraphics.CenterRect(TPoint,Integer,Integer) •RSGraphics.CenterRect(TRect,TRect) •RSGraphics.CenterRect(TRSGfxFloat,TRSGfxFloat,TRSGfxFloat,TRSGfxFloat) •RSGraphics.CenterRect(TRSPoint,TRSGfxFloat,TRSGfxFloat) •RSGraphics.TRSRect •RSGraphics |