public class FloatMap extends Object
DisplacementMap
などの効果のパラメータとして使用される浮動小数点データが格納されるバッファです。Type | プロパティと説明 |
---|---|
IntegerProperty |
height
マップの高さ(ピクセル)。
|
IntegerProperty |
width
マップの幅(ピクセル)。
|
コンストラクタと説明 |
---|
FloatMap()
デフォルトのパラメータでFloatMapの新しいインスタンスを作成します。
|
FloatMap(int width, int height)
指定された幅および高さを持つFloatMapの新しいインスタンスを作成します。
|
修飾子と型 | メソッドと説明 |
---|---|
int |
getHeight()
プロパティheightの値を取得します。
|
int |
getWidth()
プロパティwidthの値を取得します。
|
IntegerProperty |
heightProperty()
マップの高さ(ピクセル)。
|
void |
setHeight(int value)
プロパティheightの値を設定します。
|
void |
setSample(int x, int y, int band, float s)
指定された(x,y)位置の特定のバンドのサンプルを設定します。
|
void |
setSamples(int x, int y, float s0)
指定された(x,y)位置の最初のバンドのサンプルを設定します。
|
void |
setSamples(int x, int y, float s0, float s1)
指定された(x,y)位置の最初の2つのバンドのサンプルを設定します。
|
void |
setSamples(int x, int y, float s0, float s1, float s2)
指定された(x,y)位置の最初の3つのバンドのサンプルを設定します。
|
void |
setSamples(int x, int y, float s0, float s1, float s2, float s3)
指定された(x,y)位置の4つの各バンドのサンプルを設定します。
|
void |
setWidth(int value)
プロパティwidthの値を設定します。
|
IntegerProperty |
widthProperty()
マップの幅(ピクセル)。
|
public final IntegerProperty widthProperty
Min: 1 Max: 4096 Default: 1 Identity: n/a
getWidth()
、setWidth(int)
public final IntegerProperty heightProperty
Min: 1 Max: 4096 Default: 1 Identity: n/a
getHeight()
、setHeight(int)
public FloatMap()
public FloatMap(int width, int height)
width
- マップの幅(ピクセル)height
- マップの高さ(ピクセル)public final void setWidth(int value)
Min: 1 Max: 4096 Default: 1 Identity: n/a
public final int getWidth()
Min: 1 Max: 4096 Default: 1 Identity: n/a
public final IntegerProperty widthProperty()
Min: 1 Max: 4096 Default: 1 Identity: n/a
getWidth()
、setWidth(int)
public final void setHeight(int value)
Min: 1 Max: 4096 Default: 1 Identity: n/a
public final int getHeight()
Min: 1 Max: 4096 Default: 1 Identity: n/a
public final IntegerProperty heightProperty()
Min: 1 Max: 4096 Default: 1 Identity: n/a
getHeight()
、setHeight(int)
public void setSample(int x, int y, int band, float s)
x
- x位置y
- y位置band
- 設定するバンド(0、1、2または3)s
- 設定するサンプル値public void setSamples(int x, int y, float s0)
x
- x位置y
- y位置s0
- 最初のバンドに設定するサンプル値public void setSamples(int x, int y, float s0, float s1)
x
- x位置y
- y位置s0
- 最初のバンドに設定するサンプル値s1
- 2番目のバンドに設定するサンプル値public void setSamples(int x, int y, float s0, float s1, float s2)
x
- x位置y
- y位置s0
- 最初のバンドに設定するサンプル値s1
- 2番目のバンドに設定するサンプル値s2
- 3番目のバンドに設定するサンプル値public void setSamples(int x, int y, float s0, float s1, float s2, float s3)
x
- x位置y
- y位置s0
- 最初のバンドに設定するサンプル値s1
- 2番目のバンドに設定するサンプル値s2
- 3番目のバンドに設定するサンプル値s3
- 4番目のバンドに設定するサンプル値Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.