mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-13 02:32:09 +10:00
Bring back calculate length for curved components
This commit is contained in:
@@ -336,6 +336,10 @@ public abstract class AbstractCurvedComponent<T> extends AbstractTransparentComp
|
|||||||
}
|
}
|
||||||
|
|
||||||
@EditableProperty(name = "Length")
|
@EditableProperty(name = "Length")
|
||||||
|
public Size getLength() {
|
||||||
|
return calculateLength();
|
||||||
|
}
|
||||||
|
|
||||||
public Size calculateLength() {
|
public Size calculateLength() {
|
||||||
double d = 0;
|
double d = 0;
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user