Class DrawArrow
java.lang.Object
net.algart.json.PropertyChecker
net.algart.executors.api.ExecutionBlock
net.algart.executors.api.Executor
net.algart.executors.modules.core.common.awt.AWTFilter
net.algart.executors.modules.core.common.awt.AWTDrawer
net.algart.executors.modules.cv.matrices.drawing.DrawArrow
- All Implemented Interfaces:
AutoCloseable
public final class DrawArrow
extends net.algart.executors.modules.core.common.awt.AWTDrawer
-
Nested Class Summary
Nested classes/interfaces inherited from class net.algart.executors.api.Executor
net.algart.executors.api.Executor.Timing -
Field Summary
Fields inherited from class net.algart.executors.api.Executor
ENUM_VALUE_OF_NAME_CUSTOM_METHOD, LOG, LOGGABLE_DEBUG, LOGGABLE_INFO, LOGGABLE_TRACE, OUTPUT_EXECUTOR_ID_NAME, OUTPUT_PLATFORM_ID_NAME, OUTPUT_RESOURCE_FOLDER_NAME, STANDARD_VISIBLE_RESULT_PARAMETER_NAMEFields inherited from class net.algart.executors.api.ExecutionBlock
DEFAULT_INPUT_PORT, DEFAULT_OUTPUT_PORT, EXTENDED_MODE, GLOBAL_SHARED_SESSION_ID, SHOW_INFO_ON_STARTUP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddrawArrowLine(Graphics2D graphics, int x1, int y1, int x2, int y2, double thickness, double arrowLength, double arrowWidth) doubledoubledoubledoublegetX1()doublegetX2()doublegetY1()doublegetY2()voidprocess(Graphics2D g, int dimX, int dimY) voidsetArrowLength(double arrowLength) voidsetArrowWidth(double arrowWidth) voidsetThickness(double thickness) voidsetX1(double x1) voidsetX2(double x2) voidsetY1(double y1) voidsetY2(double y2) Methods inherited from class net.algart.executors.modules.core.common.awt.AWTDrawer
getColor, isAntialiasing, isClearSource, process, setAntialiasing, setClearSource, setColor, setConvertMonoToColor, truncateColor01Methods inherited from class net.algart.executors.modules.core.common.awt.AWTFilter
isConvertMonoToColor, processMethods inherited from class net.algart.executors.api.Executor
addServiceTime, allocatedMemory, allOutputContainers, allParameters, checkOutputNecessary, close, configAllocatedMemory, debugTime, defaultInputPortName, defaultInputPortName, defaultOutputPortName, defaultOutputPortName, defaultVisibleResultsInformation, disableOnChangeParameterAutomatic, disableOnChangeParametersAutomatic, execute, execute, executorModel, executorModel, executorPlatform, executorResourceFolder, fillSystemOutputs, fineAllocatedMemory, finishTimingOfExecutingAll, getEndProcessingTimeStamp, getServiceTime, getStartProcessingTimeStamp, infoTime, initialize, isCancellingExecutionRequested, isCancellingFurtherExecutionRequested, isMultithreadingEnvironment, isTimingEnabled, isUsingVisibleResultParameter, isVisiblePort, isVisibleResultDisabled, logDebug, logDebug, loggingEnabled, logInfo, logInfo, logTrace, logTrace, onChangeParameter, onChangeParameterAutomatic, parameterControlValueType, parameterJavaType, postprocess, requestCancellingFurtherExecution, requestContinuingFurtherExecution, reset, resetTiming, setDefaultInputMat, setDefaultInputNumbers, setDefaultInputPort, setDefaultInputScalar, setDefaultOutputMat, setDefaultOutputNumbers, setDefaultOutputPort, setDefaultOutputScalar, setEndProcessingTimeStamp, setMultithreadingEnvironment, setStartProcessingTimeStamp, setTimingEnabled, showStatus, showStatus, skipStandardAutomaticParameters, startTimingOfExecutingAll, status, statusData, toString, useVisibleResultParameter, valueOfLogLevel, visibleOutputPortName, visibleResultsInformationMethods inherited from class net.algart.executors.api.ExecutionBlock
addInputData, addInputMat, addInputNumbers, addInputScalar, addOneTimeTaskAfterExecutingAll, addOutputData, addOutputMat, addOutputNumbers, addOutputScalar, addPort, addTaskAfterExecutingAll, addTaskBeforeExecutingAll, afterExecutingAll, allInputPorts, allOneTimeTasksAfterExecutingAll, allOutputPorts, allTasksAfterExecutingAll, allTasksBeforeExecutingAll, availableExecutorModelArray, availableExecutorModelDescriptions, beforeExecutingAll, checkInputNecessary, clearSession, contextPath, freeAllInputPortData, freeAllOutputPortData, freeAllPortData, getCaller, getContextId, getContextName, getContextPath, getCurrentDirectory, getData, getData, getDoubleScalar, getDoubleScalar, getExecutorId, getExecutorModelDescription, getExecutorSpecification, getInputData, getInputData, getInputData, getInputData, getInputDataContainer, getInputDataContainer, getInputMat, getInputMat, getInputMat, getInputMat, getInputMatContainer, getInputMatContainer, getInputNumbers, getInputNumbers, getInputNumbers, getInputNumbers, getInputNumbersContainer, getInputNumbersContainer, getInputPort, getInputScalar, getInputScalar, getInputScalar, getInputScalar, getInputScalarContainer, getInputScalarContainer, getIntScalar, getIntScalar, getLongScalar, getLongScalar, getMat, getMat, getNumbers, getNumbers, getOutputPort, getOwnerId, getPlatformId, getPort, getRequiredInputPort, getRequiredOutputPort, getRootCaller, getScalar, getScalar, getSessionId, getStringScalar, getStringScalar, hasDefaultInputPort, hasDefaultOutputPort, hasInputPort, hasOutputPort, initializeExecutionSystem, interrupt, isAllOutputsNecessary, isClosed, isInputNecessary, isInterrupted, isInterruptionRequested, isOutputNecessary, isReadOnlyInput, isVisibleResultNecessary, needToRepeat, newExecutionBlock, parameters, putDoubleScalar, putDoubleScalar, putIntScalar, putIntScalar, putJsonScalar, putJsonScalar, putLongScalar, putLongScalar, putMat, putMat, putNumbers, putNumbers, putNumbers, putNumbers, putScalar, putScalar, putStringScalar, putStringScalar, recommendedCategory, recommendedName, registerExecutionBlockLoader, removeInputPort, removeOneTimeTaskAfterExecutingAll, removeOutputData, removeOutputPort, removeTaskAfterExecutingAll, removeTaskBeforeExecutingAll, replacePort, requestDefaultOutput, requestOutput, setAllOutputsNecessary, setBooleanParameter, setCaller, setContextId, setContextId, setContextName, setContextPath, setCurrentDirectory, setDoubleParameter, setInterruptionRequested, setIntParameter, setLongParameter, setOutputScalar, setOutputScalar, setOutputScalar, setOutputScalar, setOutputScalar, setOutputScalar, setOutputScalarIfNecessary, setOwnerId, setSessionId, setStringParameter, setVisibleResultNecessary, translateCurrentDirectoryMethods inherited from class net.algart.json.PropertyChecker
doubleOrDefault, doubleOrNegativeInfinity, doubleOrNull, doubleOrPositiveInfinity, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, inRange, inRange, inRange, inRange, inRange, inRange, intOrDefault, intOrNull, longOrDefault, longOrNull, nonEmpty, nonEmpty, nonEmptyTrimmed, nonEmptyTrimmed, nonLessThan, nonLessThan, nonLessThan, nonLessThan, nonLessThan, nonLessThan, nonNegative, nonNegative, nonNegative, nonNegative, nonNegative, nonNegative, nonNull, nonNull, positive, positive, positive, positive, positive, positive, propertyName
-
Constructor Details
-
DrawArrow
public DrawArrow()
-
-
Method Details
-
getX1
public double getX1() -
setX1
public void setX1(double x1) -
getY1
public double getY1() -
setY1
public void setY1(double y1) -
getX2
public double getX2() -
setX2
public void setX2(double x2) -
getY2
public double getY2() -
setY2
public void setY2(double y2) -
getThickness
public double getThickness() -
setThickness
public void setThickness(double thickness) -
getArrowLength
public double getArrowLength() -
setArrowLength
public void setArrowLength(double arrowLength) -
getArrowWidth
public double getArrowWidth() -
setArrowWidth
public void setArrowWidth(double arrowWidth) -
process
- Specified by:
processin classnet.algart.executors.modules.core.common.awt.AWTDrawer
-
drawArrowLine
public static void drawArrowLine(Graphics2D graphics, int x1, int y1, int x2, int y2, double thickness, double arrowLength, double arrowWidth)
-