Class OutputImage
java.lang.Object
com.marginallyclever.nodegraphcore.port.Port<BufferedImage>
com.marginallyclever.nodegraphcore.port.Output<BufferedImage>
com.marginallyclever.donatello.ports.OutputImage
- All Implemented Interfaces:
GraphViewProvider
public class OutputImage
extends com.marginallyclever.nodegraphcore.port.Output<BufferedImage>
implements GraphViewProvider
-
Field Summary
Fields inherited from class com.marginallyclever.nodegraphcore.port.Port
DEFAULT_HEIGHT, DEFAULT_WIDTH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Display the port in the graph view.Methods inherited from class com.marginallyclever.nodegraphcore.port.Output
addTo, createInverse, getTo, removeTo, setValue
Methods inherited from class com.marginallyclever.nodegraphcore.port.Port
fromJSON, getDisplayName, getInPosition, getName, getOutPosition, getType, getTypeName, getValue, isDirty, isValidType, setDirty, setDisplayName, toJSON, toString
-
Constructor Details
-
OutputImage
- Throws:
IllegalArgumentException
-
-
Method Details
-
getRectangle
- Overrides:
getRectangle
in classcom.marginallyclever.nodegraphcore.port.Port<BufferedImage>
-
paint
Description copied from interface:GraphViewProvider
Display the port in the graph view.- Specified by:
paint
in interfaceGraphViewProvider
- Parameters:
g
- The graphics context to draw on.box
- The bounding box to draw in.
-