org.jhotdraw8.draw.figure.PaddableFigure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.jhotdraw8.draw Show documentation
Show all versions of org.jhotdraw8.draw Show documentation
JHotDraw8 Drawing Framework
The newest version!
/*
* @(#)PaddableFigure.java
* Copyright © 2023 The authors and contributors of JHotDraw. MIT License.
*/
package org.jhotdraw8.draw.figure;
import org.jhotdraw8.css.value.CssSize;
import org.jhotdraw8.draw.key.CssInsetsStyleableMapAccessor;
import org.jhotdraw8.draw.key.CssSizeStyleableKey;
import org.jspecify.annotations.Nullable;
public interface PaddableFigure extends Figure {
@Nullable CssSizeStyleableKey PADDING_BOTTOM = new CssSizeStyleableKey("paddingBottom", CssSize.ZERO);
@Nullable CssSizeStyleableKey PADDING_LEFT = new CssSizeStyleableKey("paddingLeft", CssSize.ZERO);
@Nullable CssSizeStyleableKey PADDING_RIGHT = new CssSizeStyleableKey("paddingRight", CssSize.ZERO);
@Nullable CssSizeStyleableKey PADDING_TOP = new CssSizeStyleableKey("paddingTop", CssSize.ZERO);
@Nullable CssInsetsStyleableMapAccessor PADDING = new CssInsetsStyleableMapAccessor("padding", PADDING_TOP, PADDING_RIGHT, PADDING_BOTTOM, PADDING_LEFT);
}