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)
    @safe
    sizeLimitY
    (
    size_t y
    )
  2. FloatSizeLimit sizeLimitY(float y)

Parameters

y size_t

Maximum height of the node in pixels.

Return Value

Type: SizeLimit

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