Hide Comments
Hide Comments

ParseClipRect(String,TRSRect,Boolean,TSVGUnitFactors) Method

Comments (0)

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

expandingSyntax

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

expandingRemarks
expandingSee Also

Comments (0)

RiverSoftAVG SVG Component Library (RSCL) © 2013-2016, Thomas G. Grubb