Class FxPixGridMatrixPanel
- java.lang.Object
-
- javafx.scene.Node
-
- javafx.scene.Parent
-
- javafx.scene.layout.Region
-
- javafx.scene.layout.Pane
-
- org.refcodes.graphical.ext.javafx.FxPixGridMatrixPanel
-
- All Implemented Interfaces:
Styleable,EventTarget,org.refcodes.graphical.PixGridPanel,org.refcodes.graphical.VisibleAccessor,org.refcodes.graphical.VisibleAccessor.VisibleMutator,org.refcodes.graphical.VisibleAccessor.VisibleProperty,org.refcodes.mixin.Clearable
- Direct Known Subclasses:
FxPixGridBannerPanel
public class FxPixGridMatrixPanel extends Pane implements org.refcodes.graphical.PixGridPanel
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.graphical.VisibleAccessor
org.refcodes.graphical.VisibleAccessor.VisibleBuilder<B extends org.refcodes.graphical.VisibleAccessor.VisibleBuilder<B>>, org.refcodes.graphical.VisibleAccessor.VisibleMutator, org.refcodes.graphical.VisibleAccessor.VisibleProperty
-
-
Field Summary
Fields Modifier and Type Field Description protected Color_inactivePixelColorprotected org.refcodes.graphical.RgbPixmap.RgbPixmapBuilder_rgbPixmapBuilder-
Fields inherited from class javafx.scene.layout.Region
USE_COMPUTED_SIZE, USE_PREF_SIZE
-
Fields inherited from class javafx.scene.Node
BASELINE_OFFSET_SAME_AS_HEIGHT
-
-
Constructor Summary
Constructors Constructor Description FxPixGridMatrixPanel(int aMatrixWidth, int aMatrixHeight, Color aBackgroundColor, int aPixelWidth, int aPixelHeight, org.refcodes.graphical.PixelShape aPixelShape, float aPixelBorderWidth, Color aPixelBorderColor, Color aInactivePixelColor, int aTopBorder, int aBottomBorder, int aLeftBorder, int aRightBorder, int aHorizontalSpace, float aPixelWidthToHorizontalSpaceRatio, boolean isForceHorizontalSpace, int aVerticalSpace, float aPixelHeightToVerticalSpaceRatio, boolean isForceVerticalSpace)Instantiates a newFxPixGridMatrixPanel.FxPixGridMatrixPanel(int aMatrixWidth, int aMatrixHeight, String aBackgroundColor, int aPixelWidth, int aPixelHeight, org.refcodes.graphical.PixelShape aPixelShape, float aPixelBorderWidth, String aPixelBorderColor, String aInactivePixelColor, int aTopBorder, int aBottomBorder, int aLeftBorder, int aRightBorder, int aHorizontalSpace, float aPixelWidthToHorizontalSpaceRatio, boolean isForceHorizontalSpace, int aVerticalSpace, float aPixelHeightToVerticalSpaceRatio, boolean isForceVerticalSpace)Instantiates a newFxPixGridMatrixPanel.FxPixGridMatrixPanel(int aMatrixWidth, int aMatrixHeight, Color aBackgroundColor, int aPixelWidth, int aPixelHeight, org.refcodes.graphical.PixelShape aPixelShape, float aPixelBorderWidth, Color aPixelBorderColor, Color aInactivePixelColor, int aTopBorder, int aBottomBorder, int aLeftBorder, int aRightBorder, int aHorizontalSpace, float aPixelWidthToHorizontalSpaceRatio, boolean isForceHorizontalSpace, int aVerticalSpace, float aPixelHeightToVerticalSpaceRatio, boolean isForceVerticalSpace)Instantiates a newFxPixGridMatrixPanel.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddBlankArea(int aXPosition, int aYPosition, int aWidth, int aHeight)booleanaddBlankArea(org.refcodes.graphical.Rectangle aRectangle)voidclear()voidclearBlankAreas()intgetBottomBorder()ColorgetColorAt(int aXPos, int aYPos)Gets theColorat the given position.intgetHorizontalSpace()org.refcodes.graphical.RgbColorgetInactivePixelColor()intgetLeftBorder()intgetMatrixDrawingHeight(boolean isWithBorder, boolean isWithPixelSpace, boolean isWithPixelHeight)intgetMatrixDrawingWidth(boolean isWithBorder, boolean isWithPixelSpace, boolean isWithPixelWidth)intgetMatrixHeight()org.refcodes.graphical.DimensiongetMatrixSize()intgetMatrixWidth()org.refcodes.graphical.RgbPixelgetPixelAt(int aXPos, int aYPos)intgetPixelHeight()org.refcodes.graphical.PixelShapegetPixelShape()intgetPixelWidth()intgetPixmapOffsetX()intgetPixmapOffsetY()org.refcodes.graphical.RgbPixmap.RgbPixmapBuildergetPixmapSnapshot()org.refcodes.graphical.RgbPixmap.RgbPixmapBuildergetRgbPixmap()intgetRightBorder()intgetTopBorder()intgetVerticalSpace()booleanisHorizontalWrapEnabled()booleanisVerticalWrapEnabled()booleanremoveBlankArea(org.refcodes.graphical.Rectangle aRectangle)voidrepaint()voidsetColorAt(Color aColor, int aPosX, int aPosY)Paints theColorat the given position.voidsetPixelAtAt(org.refcodes.graphical.RgbPixel aPixel, int aPosX, int aPosY)voidsetPixmapOffset(int aPosX, int aPosY)protected static ColortoFxColor(Color aAwtColor)protected static ColortoFxColor(String aWebColor)protected static ColortoFxColor(org.refcodes.graphical.RgbPixel aPixel)protected static org.refcodes.graphical.RgbPixeltoRgbPixel(Color aFxColor)-
Methods inherited from class javafx.scene.layout.Pane
getChildren
-
Methods inherited from class javafx.scene.layout.Region
backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, getBackground, getBorder, getClassCssMetaData, getCssMetaData, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getUserAgentStylesheet, getWidth, heightProperty, insetsProperty, isCacheShape, isCenterShape, isResizable, isScaleShape, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, opaqueInsetsProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, scaleShapeProperty, setBackground, setBorder, setCacheShape, setCenterShape, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setOpaqueInsets, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setScaleShape, setShape, setSnapToPixel, setWidth, shapeProperty, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, snapToPixelProperty, widthProperty
-
Methods inherited from class javafx.scene.Parent
getBaselineOffset, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, layoutChildren, lookup, needsLayoutProperty, queryAccessibleAttribute, requestLayout, requestParentLayout, setNeedsLayout, updateBounds
-
Methods inherited from class javafx.scene.Node
accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, executeAccessibleAction, fireEvent, focusedProperty, focusTraversableProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInitialCursor, getInitialFocusTraversable, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, getViewOrder, hasProperties, hoverProperty, idProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setViewOrder, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, viewOrderProperty, visibleProperty
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.refcodes.graphical.PixGridPanel
getMatrixDrawingHeight, getMatrixDrawingWidth
-
Methods inherited from interface javafx.css.Styleable
getStyleableNode
-
-
-
-
Field Detail
-
_rgbPixmapBuilder
protected org.refcodes.graphical.RgbPixmap.RgbPixmapBuilder _rgbPixmapBuilder
-
_inactivePixelColor
protected Color _inactivePixelColor
-
-
Constructor Detail
-
FxPixGridMatrixPanel
public FxPixGridMatrixPanel(int aMatrixWidth, int aMatrixHeight, Color aBackgroundColor, int aPixelWidth, int aPixelHeight, org.refcodes.graphical.PixelShape aPixelShape, float aPixelBorderWidth, Color aPixelBorderColor, Color aInactivePixelColor, int aTopBorder, int aBottomBorder, int aLeftBorder, int aRightBorder, int aHorizontalSpace, float aPixelWidthToHorizontalSpaceRatio, boolean isForceHorizontalSpace, int aVerticalSpace, float aPixelHeightToVerticalSpaceRatio, boolean isForceVerticalSpace)Instantiates a newFxPixGridMatrixPanel.- Parameters:
aMatrixWidth- the a matrix widthaMatrixHeight- the a matrix heightaBackgroundColor- the a background coloraPixelWidth- the a pixel widthaPixelHeight- the a pixel heightaPixelShape- the a pixel shapeaPixelBorderWidth- the a pixel border widthaPixelBorderColor- the a pixel border coloraInactivePixelColor- the a inactive pixel coloraTopBorder- the a top borderaBottomBorder- the a bottom borderaLeftBorder- the a left borderaRightBorder- the a right borderaHorizontalSpace- the a horizontal spaceaPixelWidthToHorizontalSpaceRatio- the a pixel width to horizontal space ratioisForceHorizontalSpace- the is force horizontal spaceaVerticalSpace- the a vertical spaceaPixelHeightToVerticalSpaceRatio- the a pixel height to vertical space ratioisForceVerticalSpace- the is force vertical space
-
FxPixGridMatrixPanel
public FxPixGridMatrixPanel(int aMatrixWidth, int aMatrixHeight, String aBackgroundColor, int aPixelWidth, int aPixelHeight, org.refcodes.graphical.PixelShape aPixelShape, float aPixelBorderWidth, String aPixelBorderColor, String aInactivePixelColor, int aTopBorder, int aBottomBorder, int aLeftBorder, int aRightBorder, int aHorizontalSpace, float aPixelWidthToHorizontalSpaceRatio, boolean isForceHorizontalSpace, int aVerticalSpace, float aPixelHeightToVerticalSpaceRatio, boolean isForceVerticalSpace)Instantiates a newFxPixGridMatrixPanel.- Parameters:
aMatrixWidth- the a matrix widthaMatrixHeight- the a matrix heightaBackgroundColor- the a background coloraPixelWidth- the a pixel widthaPixelHeight- the a pixel heightaPixelShape- the a pixel shapeaPixelBorderWidth- the a pixel border widthaPixelBorderColor- the a pixel border coloraInactivePixelColor- the a inactive pixel coloraTopBorder- the a top borderaBottomBorder- the a bottom borderaLeftBorder- the a left borderaRightBorder- the a right borderaHorizontalSpace- the a horizontal spaceaPixelWidthToHorizontalSpaceRatio- the a pixel width to horizontal space ratioisForceHorizontalSpace- the is force horizontal spaceaVerticalSpace- the a vertical spaceaPixelHeightToVerticalSpaceRatio- the a pixel height to vertical space ratioisForceVerticalSpace- the is force vertical space
-
FxPixGridMatrixPanel
public FxPixGridMatrixPanel(int aMatrixWidth, int aMatrixHeight, Color aBackgroundColor, int aPixelWidth, int aPixelHeight, org.refcodes.graphical.PixelShape aPixelShape, float aPixelBorderWidth, Color aPixelBorderColor, Color aInactivePixelColor, int aTopBorder, int aBottomBorder, int aLeftBorder, int aRightBorder, int aHorizontalSpace, float aPixelWidthToHorizontalSpaceRatio, boolean isForceHorizontalSpace, int aVerticalSpace, float aPixelHeightToVerticalSpaceRatio, boolean isForceVerticalSpace)Instantiates a newFxPixGridMatrixPanel.- Parameters:
aMatrixWidth- the a matrix widthaMatrixHeight- the a matrix heightaBackgroundColor- the a background coloraPixelWidth- the a pixel widthaPixelHeight- the a pixel heightaPixelShape- the a pixel shapeaPixelBorderWidth- the a pixel border widthaPixelBorderColor- the a pixel border coloraInactivePixelColor- the a inactive pixel coloraTopBorder- the a top borderaBottomBorder- the a bottom borderaLeftBorder- the a left borderaRightBorder- the a right borderaHorizontalSpace- the a horizontal spaceaPixelWidthToHorizontalSpaceRatio- the a pixel width to horizontal space ratioisForceHorizontalSpace- the is force horizontal spaceaVerticalSpace- the a vertical spaceaPixelHeightToVerticalSpaceRatio- the a pixel height to vertical space ratioisForceVerticalSpace- the is force vertical space
-
-
Method Detail
-
getColorAt
public Color getColorAt(int aXPos, int aYPos) throws IndexOutOfBoundsException
Gets theColorat the given position.- Parameters:
aXPos- the a X posaYPos- the a Y pos- Returns:
- the
Colorat the given position - Throws:
IndexOutOfBoundsException- the index out of bounds exception
-
getPixelAt
public org.refcodes.graphical.RgbPixel getPixelAt(int aXPos, int aYPos) throws IndexOutOfBoundsException- Specified by:
getPixelAtin interfaceorg.refcodes.graphical.PixGridPanel- Throws:
IndexOutOfBoundsException
-
getTopBorder
public int getTopBorder()
- Specified by:
getTopBorderin interfaceorg.refcodes.graphical.PixGridPanel
-
getBottomBorder
public int getBottomBorder()
- Specified by:
getBottomBorderin interfaceorg.refcodes.graphical.PixGridPanel
-
getLeftBorder
public int getLeftBorder()
- Specified by:
getLeftBorderin interfaceorg.refcodes.graphical.PixGridPanel
-
getRightBorder
public int getRightBorder()
- Specified by:
getRightBorderin interfaceorg.refcodes.graphical.PixGridPanel
-
getHorizontalSpace
public int getHorizontalSpace()
- Specified by:
getHorizontalSpacein interfaceorg.refcodes.graphical.PixGridPanel
-
getVerticalSpace
public int getVerticalSpace()
- Specified by:
getVerticalSpacein interfaceorg.refcodes.graphical.PixGridPanel
-
getPixelWidth
public int getPixelWidth()
- Specified by:
getPixelWidthin interfaceorg.refcodes.graphical.PixGridPanel
-
getPixelHeight
public int getPixelHeight()
- Specified by:
getPixelHeightin interfaceorg.refcodes.graphical.PixGridPanel
-
getMatrixDrawingWidth
public int getMatrixDrawingWidth(boolean isWithBorder, boolean isWithPixelSpace, boolean isWithPixelWidth)- Specified by:
getMatrixDrawingWidthin interfaceorg.refcodes.graphical.PixGridPanel
-
getMatrixDrawingHeight
public int getMatrixDrawingHeight(boolean isWithBorder, boolean isWithPixelSpace, boolean isWithPixelHeight)- Specified by:
getMatrixDrawingHeightin interfaceorg.refcodes.graphical.PixGridPanel
-
getRgbPixmap
public org.refcodes.graphical.RgbPixmap.RgbPixmapBuilder getRgbPixmap()
- Specified by:
getRgbPixmapin interfaceorg.refcodes.graphical.PixGridPanel
-
getPixmapOffsetX
public int getPixmapOffsetX()
- Specified by:
getPixmapOffsetXin interfaceorg.refcodes.graphical.PixGridPanel
-
getPixmapOffsetY
public int getPixmapOffsetY()
- Specified by:
getPixmapOffsetYin interfaceorg.refcodes.graphical.PixGridPanel
-
isHorizontalWrapEnabled
public boolean isHorizontalWrapEnabled()
- Specified by:
isHorizontalWrapEnabledin interfaceorg.refcodes.graphical.PixGridPanel
-
isVerticalWrapEnabled
public boolean isVerticalWrapEnabled()
- Specified by:
isVerticalWrapEnabledin interfaceorg.refcodes.graphical.PixGridPanel
-
getMatrixWidth
public int getMatrixWidth()
- Specified by:
getMatrixWidthin interfaceorg.refcodes.graphical.PixGridPanel
-
getMatrixHeight
public int getMatrixHeight()
- Specified by:
getMatrixHeightin interfaceorg.refcodes.graphical.PixGridPanel
-
getMatrixSize
public org.refcodes.graphical.Dimension getMatrixSize()
- Specified by:
getMatrixSizein interfaceorg.refcodes.graphical.PixGridPanel
-
getInactivePixelColor
public org.refcodes.graphical.RgbColor getInactivePixelColor()
- Specified by:
getInactivePixelColorin interfaceorg.refcodes.graphical.PixGridPanel
-
clear
public void clear()
- Specified by:
clearin interfaceorg.refcodes.mixin.Clearable
-
getPixelShape
public org.refcodes.graphical.PixelShape getPixelShape()
- Specified by:
getPixelShapein interfaceorg.refcodes.graphical.PixGridPanel
-
addBlankArea
public boolean addBlankArea(int aXPosition, int aYPosition, int aWidth, int aHeight)- Specified by:
addBlankAreain interfaceorg.refcodes.graphical.PixGridPanel
-
addBlankArea
public boolean addBlankArea(org.refcodes.graphical.Rectangle aRectangle)
- Specified by:
addBlankAreain interfaceorg.refcodes.graphical.PixGridPanel
-
removeBlankArea
public boolean removeBlankArea(org.refcodes.graphical.Rectangle aRectangle)
- Specified by:
removeBlankAreain interfaceorg.refcodes.graphical.PixGridPanel
-
clearBlankAreas
public void clearBlankAreas()
- Specified by:
clearBlankAreasin interfaceorg.refcodes.graphical.PixGridPanel
-
getPixmapSnapshot
public org.refcodes.graphical.RgbPixmap.RgbPixmapBuilder getPixmapSnapshot()
- Specified by:
getPixmapSnapshotin interfaceorg.refcodes.graphical.PixGridPanel
-
setPixmapOffset
public void setPixmapOffset(int aPosX, int aPosY)- Specified by:
setPixmapOffsetin interfaceorg.refcodes.graphical.PixGridPanel
-
setColorAt
public void setColorAt(Color aColor, int aPosX, int aPosY)
Paints theColorat the given position.- Parameters:
aColor- theColorfor the pixel at the given position.aPosX- the x positionaPosY- the y position
-
setPixelAtAt
public void setPixelAtAt(org.refcodes.graphical.RgbPixel aPixel, int aPosX, int aPosY)- Specified by:
setPixelAtAtin interfaceorg.refcodes.graphical.PixGridPanel
-
repaint
public void repaint()
- Specified by:
repaintin interfaceorg.refcodes.graphical.PixGridPanel
-
toFxColor
protected static Color toFxColor(org.refcodes.graphical.RgbPixel aPixel)
-
toRgbPixel
protected static org.refcodes.graphical.RgbPixel toRgbPixel(Color aFxColor)
-
-