MediaStyleParams

type MediaStyleParams struct {
    MaxHeight int
    MaxWidth int
    MinHeight int
    MinWidth int
    Orientation int
}
Member Type Description
MaxHeight int Maximum height
MaxWidth int Maximum width
MinHeight int Minimum height
MinWidth int Minimum width
Orientation int Orientation

Orientation values:

Value Constant Description
0 DefaultMedia Style appliance will not be related to client's window orientation
1 PortraitMedia Style apply on clients with portrait window orientation
2 LandscapeMedia Style apply on clients with landscape window orientation