All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jhotdraw8.draw.figure.Clipping Maven / Gradle / Ivy

The newest version!
/*
 * @(#)Clipping.java
 * Copyright © 2023 The authors and contributors of JHotDraw. MIT License.
 */
package org.jhotdraw8.draw.figure;


/**
 * Defines a clipping of a {@link Drawing}.
 * 

* A clipping is used to hold a selection of figures, so that they can be read * or written to the clipboard. *

* A clipping can not have a parent, and thus returns false in * isSuitableParent(parent) for all parents except null. * * @author Werner Randelshofer */ public interface Clipping extends Figure { /** * The CSS type selector for a label object is {@value #TYPE_SELECTOR}. */ String TYPE_SELECTOR = "Clipping"; /** * Clipping figures always return false for isSelectable. */ @Override default boolean isSelectable() { return false; } @Override default String getTypeSelector() { return TYPE_SELECTOR; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy