Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSVclSVG > RSSVGUtils > Routines

ParseClipRect(String,TRSRect,Boolean,TSVGUnitFactors) Method

Scroll Prev Top Next More

Parses the input string into a clipping rectangle. The input string should be in the format 'rect( top right bottom left)' where top, right, bottom, and left specify offsets from the respective sides of the box.

top, right, bottom, and left may either have a value or 'auto'. Negative lengths are permitted. The value 'auto' means that a given edge of the clipping region will be the same as the edge of the element's generated box (i. e., 'auto' means the same as '0'.)

Namespace: RSSVGUtils

Parameters

S

Type: String

Input string to parse

DefValue

Type: TRSRect

Default Value. If the string is empty, the default value is returned

Inherits

Type: Boolean

Set to True when the input string contains 'inherit' keyword

UnitFactors

Type: TSVGUnitFactors

Return Value

Type: TRSRect

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb