Function: parseDims()
parseDims(
dim):null|Dims
Defined in: dims.ts:27
Parses a dimension string like "w::50" or "height::100" into [type, 0..1].
Parameters
dim
string
Quoted string e.g. "w::50" (50% width), "height" (100% height)
Returns
null | Dims
Tuple [DimType, number] or null if format is invalid