Class FittedSizes
Inheritance
System.Object
FittedSizes
Namespace: Unity.UIWidgets.painting
Syntax
public class FittedSizes
Constructors
FittedSizes(Size, Size)
Declaration
public FittedSizes(Size source, Size destination)
Parameters
Type | Name | Description |
---|---|---|
Size | source | |
Size | destination |
Fields
destination
Declaration
public readonly Size destination
Field Value
Type | Description |
---|---|
Size |
source
Declaration
public readonly Size source
Field Value
Type | Description |
---|---|
Size |
Methods
applyBoxFit(BoxFit, Size, Size)
Declaration
public static FittedSizes applyBoxFit(BoxFit fit, Size inputSize, Size outputSize)
Parameters
Type | Name | Description |
---|---|---|
BoxFit | fit | |
Size | inputSize | |
Size | outputSize |
Returns
Type | Description |
---|---|
FittedSizes |