Class FontSizeController
Font size controller.
Inherited Members
Namespace: EduCATS.Fonts
Assembly: EduCATS.dll
Syntax
public static class FontSizeController
Fields
LargeAddition
Number to add to the largest size.
Declaration
public const double LargeAddition = 5
Field Value
Type | Description |
---|---|
double |
PlatformServices
Declaration
public static IPlatformServices PlatformServices
Field Value
Type | Description |
---|---|
IPlatformServices |
Methods
GetDynamicSize(double)
Get dynamic font size (for HTML vw size).
Declaration
public static double GetDynamicSize(double size)
Parameters
Type | Name | Description |
---|---|---|
double | size | vw size. |
Returns
Type | Description |
---|---|
double | New vw size. |
GetSize(NamedSize, Type)
Get font size.
Declaration
public static double GetSize(NamedSize namedSize, Type type)
Parameters
Type | Name | Description |
---|---|---|
NamedSize | namedSize | Size enumeration. |
Type | type | Type. |
Returns
Type | Description |
---|---|
double |