Indicates whether stroke thickness values are specified in pixels or diagram units.
Namespace: MindFusion.Diagramming
File: CompatConfig.js
JavaScript Copy Code |
---|
CompatConfig.pixelThickness = false; |
This is a static field. Set it to true to make StrokeThickness of DiagramItem and Style objects regardes as pixels instead of MeasureUnit values.
StrokeThickness was changed from pixels to MeasureUnit in version 3.5.1 of the library.
JavaScript Pack Programmer's Guide | © 2024 MindFusion |