Distance measure. More...
Public Types | |
| enum | UnitModeEnum { Absolute, Relative } |
Measurement mode. More... | |
Public Member Functions | |
| double | GetValue (double baseValue) |
| Gets the resolved distance value. | |
| Length (double value, UnitModeEnum unitMode) | |
| override string | ToString () |
Properties | |
| UnitModeEnum | UnitMode [get, set] |
| Gets/Sets the measurement mode applied to the distance value. | |
| double | Value [get, set] |
| Gets/Sets the distance value. | |
Distance measure.
| org.pdfclown.documents.contents.composition.Length.Length | ( | double | value, | |
| UnitModeEnum | unitMode | |||
| ) |
| double org.pdfclown.documents.contents.composition.Length.GetValue | ( | double | baseValue | ) |
Gets the resolved distance value.
This method ensures that relative distance values are transformed according to the specified base value.
| baseValue | Value used to resolve relative values. |
| override string org.pdfclown.documents.contents.composition.Length.ToString | ( | ) |
UnitModeEnum org.pdfclown.documents.contents.composition.Length.UnitMode [get, set] |
Gets/Sets the measurement mode applied to the distance value.
double org.pdfclown.documents.contents.composition.Length.Value [get, set] |
Gets/Sets the distance value.
According to the applied unit mode, this value can be either an absolute measure or a ratio to be resolved through a base value.
Copyright 2006-2013 Stefano Chizzolini. For more information, please visit PDF Clown home page.
Generated on Sat Feb 9 21:08:31 2013 for PDF Clown 0.1.2 by
1.6.3