Interface IProportions
Represents proportions by image width (X) and height (Y).
Namespace: AdaptiveImages.Core
Assembly: AdaptiveImages.dll
Syntax
public interface IProportions
Properties
Ratio
Ratio, effectively width divided by height
Declaration
double Ratio { get; }
Property Value
Type | Description |
---|---|
double |
X
Gets the relative width, such as 16 for 16:9 widescreen proportions
Declaration
int X { get; }
Property Value
Type | Description |
---|---|
int |
Y
Gets the relative height, such as 9 for 16:9 widescreen proportions
Declaration
int Y { get; }
Property Value
Type | Description |
---|---|
int |