Partager via


ImageRegionCreateResult Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.customvision.training.models.ImageRegionCreateResult

public class ImageRegionCreateResult

The ImageRegionCreateResult model.

Method Summary

Modifier and Type Method and Description
DateTime created()

Get the created value.

double height()

Get the height value.

UUID imageId()

Get the imageId value.

double left()

Get the left value.

UUID regionId()

Get the regionId value.

UUID tagId()

Get the tagId value.

String tagName()

Get the tagName value.

double top()

Get the top value.

double width()

Get the width value.

ImageRegionCreateResult withHeight(double height)

Set the height value.

ImageRegionCreateResult withLeft(double left)

Set the left value.

ImageRegionCreateResult withTagId(UUID tagId)

Set the tagId value.

ImageRegionCreateResult withTop(double top)

Set the top value.

ImageRegionCreateResult withWidth(double width)

Set the width value.

Method Details

created

public DateTime created()

Get the created value.

Returns:

the created value

height

public double height()

Get the height value.

Returns:

the height value

imageId

public UUID imageId()

Get the imageId value.

Returns:

the imageId value

left

public double left()

Get the left value.

Returns:

the left value

regionId

public UUID regionId()

Get the regionId value.

Returns:

the regionId value

tagId

public UUID tagId()

Get the tagId value.

Returns:

the tagId value

tagName

public String tagName()

Get the tagName value.

Returns:

the tagName value

top

public double top()

Get the top value.

Returns:

the top value

width

public double width()

Get the width value.

Returns:

the width value

withHeight

public ImageRegionCreateResult withHeight(double height)

Set the height value.

Parameters:

height - the height value to set

Returns:

the ImageRegionCreateResult object itself.

withLeft

public ImageRegionCreateResult withLeft(double left)

Set the left value.

Parameters:

left - the left value to set

Returns:

the ImageRegionCreateResult object itself.

withTagId

public ImageRegionCreateResult withTagId(UUID tagId)

Set the tagId value.

Parameters:

tagId - the tagId value to set

Returns:

the ImageRegionCreateResult object itself.

withTop

public ImageRegionCreateResult withTop(double top)

Set the top value.

Parameters:

top - the top value to set

Returns:

the ImageRegionCreateResult object itself.

withWidth

public ImageRegionCreateResult withWidth(double width)

Set the width value.

Parameters:

width - the width value to set

Returns:

the ImageRegionCreateResult object itself.

Applies to