Modifier and Type | Method and Description |
---|---|
static Dimension |
max(Dimension... pDimensions)
Accepts an array of Dimensions and returns a new Dimension whose width and height
are the largest of each width/height in argument dimensions.
|
static Dimension |
min(Dimension... pDimensions)
Accepts an array of Dimensions and returns a new Dimension whose width and height
are the smallest of each width/height in argument dimensions.
|
public static Dimension min(Dimension... pDimensions)
pDimensions
- Dimension to be constrained.public static Dimension max(Dimension... pDimensions)
pDimensions
- Dimension to be constrained.Copyright © 2023. All rights reserved.