|
|
@ -32,7 +32,7 @@ |
|
|
|
else width * (float32 0.05) |
|
|
|
else width * (float32 0.05) |
|
|
|
|
|
|
|
|
|
|
|
let createBorderPath penWidth spec = |
|
|
|
let createBorderPath penWidth spec = |
|
|
|
let offset = penOffset penWidth |
|
|
|
let offset = penOffset penWidth |
|
|
|
[|Point (0, offset); // Essentially (0, 0) |
|
|
|
[|Point (0, offset); // Essentially (0, 0) |
|
|
|
Point ((spec.width - offset), offset); |
|
|
|
Point ((spec.width - offset), offset); |
|
|
|
Point ((spec.width - offset), (spec.height - offset)); |
|
|
|
Point ((spec.width - offset), (spec.height - offset)); |
|
|
|