Method Equals
- Namespace
- SharpVectors.Runtime
- Assembly
- SharpVectors.Runtime.Wpf.dll
Equals(object)
Equality test
public override sealed bool Equals(object obj)
Parameters
obj
objectThe object being compared against
Returns
- bool
True if the objects are equal, False otherwise
Equals(DpiScale)
Equality test against a DpiScale object.
public bool Equals(DpiScale other)
Parameters
other
DpiScale
Returns
- bool
True if the objects are equal, False otherwise
Remarks
Two DPI scale values are equal if they are equal after rounding up to hundredths place.
Common PPI values in use are:
PPI | DPI(%) | DPI(Ratio) |
---|---|---|
96 | 100% | 1.00 |
120 | 125% | 1.25 |
144 | 150% | 1.50 |
192 | 200% | 2.00 |