Skip to main content

getWidth

Returns the width of the bounding rectangle of the signature in 0.01mm units. Returns 0 if the object does not contain signature data.

Parameters
relative : boolean indicating if the desire width it is only containing the strokes (false) or the whole screen used for capturing (true)
Return values
Returns the width of the bounding rectangle of the signature in 0.01mm units. Returns 0 if the object does not contain signature data.