FloatMap (Java SE 10 & JDK 10 ) (original) (raw)
Property Summary
Properties
Type Property Description IntegerProperty height The height of the map, in pixels. IntegerProperty width The width of the map, in pixels. Constructor Summary
Constructors
Constructor Description FloatMap() Creates a new instance of FloatMap with default parameters. FloatMap(int width, int height) Creates a new instance of FloatMap with the specified width and height. Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type Method Description int getHeight() Gets the value of the property height. int getWidth() Gets the value of the property width. IntegerProperty heightProperty() The height of the map, in pixels. void setHeight(int value) Sets the value of the property height. void setSample(int x, int y, int band, float s) Sets the sample for a specific band at the given (x,y) location. void setSamples(int x, int y, float s0) Sets the sample for the first band at the given (x,y) location. void setSamples(int x, int y, float s0, float s1) Sets the sample for the first two bands at the given (x,y) location. void setSamples(int x, int y, float s0, float s1, float s2) Sets the sample for the first three bands at the given (x,y) location. void setSamples(int x, int y, float s0, float s1, float s2, float s3) Sets the sample for each of the four bands at the given (x,y) location. void setWidth(int value) Sets the value of the property width. IntegerProperty widthProperty() The width of the map, in pixels. * ### Methods declared in class java.lang.[Object](../../../java/lang/Object.html "class in java.lang") `[clone](../../../java/lang/Object.html#clone%28%29), [equals](../../../java/lang/Object.html#equals%28java.lang.Object%29), [finalize](../../../java/lang/Object.html#finalize%28%29), [getClass](../../../java/lang/Object.html#getClass%28%29), [hashCode](../../../java/lang/Object.html#hashCode%28%29), [notify](../../../java/lang/Object.html#notify%28%29), [notifyAll](../../../java/lang/Object.html#notifyAll%28%29), [toString](../../../java/lang/Object.html#toString%28%29), [wait](../../../java/lang/Object.html#wait%28%29), [wait](../../../java/lang/Object.html#wait%28long%29), [wait](../../../java/lang/Object.html#wait%28long,int%29)`
Property Detail
* #### width public final [IntegerProperty](../../../javafx/beans/property/IntegerProperty.html "class in javafx.beans.property") widthProperty The width of the map, in pixels. Min: 1 Max: 4096 Default: 1 Identity: n/a Default value: 1 See Also: [getWidth()](../../../javafx/scene/effect/FloatMap.html#getWidth%28%29), [setWidth(int)](../../../javafx/scene/effect/FloatMap.html#setWidth%28int%29) * #### height public final [IntegerProperty](../../../javafx/beans/property/IntegerProperty.html "class in javafx.beans.property") heightProperty The height of the map, in pixels. Min: 1 Max: 4096 Default: 1 Identity: n/a Default value: 1 See Also: [getHeight()](../../../javafx/scene/effect/FloatMap.html#getHeight%28%29), [setHeight(int)](../../../javafx/scene/effect/FloatMap.html#setHeight%28int%29)
Constructor Detail
* #### FloatMap public FloatMap() Creates a new instance of FloatMap with default parameters. * #### FloatMap public FloatMap(int width, int height) Creates a new instance of FloatMap with the specified width and height. Parameters: `width` \- the width of the map, in pixels `height` \- the height of the map, in pixels Since: JavaFX 2.1
Method Detail
* #### setWidth public final void setWidth(int value) Sets the value of the property width. Property description: The width of the map, in pixels. Min: 1 Max: 4096 Default: 1 Identity: n/a Default value: 1 * #### getWidth public final int getWidth() Gets the value of the property width. Property description: The width of the map, in pixels. Min: 1 Max: 4096 Default: 1 Identity: n/a Default value: 1 * #### widthProperty public final [IntegerProperty](../../../javafx/beans/property/IntegerProperty.html "class in javafx.beans.property") widthProperty() The width of the map, in pixels. Min: 1 Max: 4096 Default: 1 Identity: n/a Default value: 1 See Also: [getWidth()](../../../javafx/scene/effect/FloatMap.html#getWidth%28%29), [setWidth(int)](../../../javafx/scene/effect/FloatMap.html#setWidth%28int%29) * #### setHeight public final void setHeight(int value) Sets the value of the property height. Property description: The height of the map, in pixels. Min: 1 Max: 4096 Default: 1 Identity: n/a Default value: 1 * #### getHeight public final int getHeight() Gets the value of the property height. Property description: The height of the map, in pixels. Min: 1 Max: 4096 Default: 1 Identity: n/a Default value: 1 * #### heightProperty public final [IntegerProperty](../../../javafx/beans/property/IntegerProperty.html "class in javafx.beans.property") heightProperty() The height of the map, in pixels. Min: 1 Max: 4096 Default: 1 Identity: n/a Default value: 1 See Also: [getHeight()](../../../javafx/scene/effect/FloatMap.html#getHeight%28%29), [setHeight(int)](../../../javafx/scene/effect/FloatMap.html#setHeight%28int%29) * #### setSample public void setSample(int x, int y, int band, float s) Sets the sample for a specific band at the given (x,y) location. Parameters: `x` \- the x location `y` \- the y location `band` \- the band to set (must be 0, 1, 2, or 3) `s` \- the sample value to set * #### setSamples public void setSamples(int x, int y, float s0) Sets the sample for the first band at the given (x,y) location. Parameters: `x` \- the x location `y` \- the y location `s0` \- the sample value to set for the first band * #### setSamples public void setSamples(int x, int y, float s0, float s1) Sets the sample for the first two bands at the given (x,y) location. Parameters: `x` \- the x location `y` \- the y location `s0` \- the sample value to set for the first band `s1` \- the sample value to set for the second band * #### setSamples public void setSamples(int x, int y, float s0, float s1, float s2) Sets the sample for the first three bands at the given (x,y) location. Parameters: `x` \- the x location `y` \- the y location `s0` \- the sample value to set for the first band `s1` \- the sample value to set for the second band `s2` \- the sample value to set for the third band * #### setSamples public void setSamples(int x, int y, float s0, float s1, float s2, float s3) Sets the sample for each of the four bands at the given (x,y) location. Parameters: `x` \- the x location `y` \- the y location `s0` \- the sample value to set for the first band `s1` \- the sample value to set for the second band `s2` \- the sample value to set for the third band `s3` \- the sample value to set for the fourth band