sizeLimitY

The sizeLimit node property sets the maximum amount of space a SizeLock node can use. sizeLimit can only be used with SizeLock.

  1. SizeLimit sizeLimitY(size_t y)
  2. FloatSizeLimit sizeLimitY(float y)
    @safe
    sizeLimitY
    (
    float y
    )

Parameters

y float

Maximum height of the node in pixels.

Return Value

A configured node parameter struct, which can be passed into the sizeLock node builder. This will be a SizeBounds struct if the input parameters are float (preferred), or SizeLimit if they are size_t like uint or ulong.

Meta