次の方法で共有


BoundingRect クラス

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.computervision.models.BoundingRect

public class BoundingRect

画像内の領域の境界ボックス。

メソッドの概要

修飾子と型 メソッドと説明
int h()

h 値を取得します。

int w()

w 値を取得します。

BoundingRect withH(int h)

h 値を設定します。

BoundingRect withW(int w)

w 値を設定します。

BoundingRect withX(int x)

x 値を設定します。

BoundingRect withY(int y)

y 値を設定します。

int x()

x 値を取得します。

int y()

y 値を取得します。

メソッドの詳細

h

public int h()

h 値を取得します。

Returns:

h 値

w

public int w()

w 値を取得します。

Returns:

w 値

withH

public BoundingRect withH(int h)

h 値を設定します。

Parameters:

h - 設定する h 値

Returns:

BoundingRect オブジェクト自体。

withW

public BoundingRect withW(int w)

w 値を設定します。

Parameters:

w - 設定する w 値

Returns:

BoundingRect オブジェクト自体。

withX

public BoundingRect withX(int x)

x 値を設定します。

Parameters:

x - 設定する x 値

Returns:

BoundingRect オブジェクト自体。

withY

public BoundingRect withY(int y)

y 値を設定します。

Parameters:

y - 設定する y 値

Returns:

BoundingRect オブジェクト自体。

x

public int x()

x 値を取得します。

Returns:

x 値

y

public int y()

y 値を取得します。

Returns:

y 値

適用対象