/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the comprehend-2017-11-27.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Comprehend.Model
{
///
/// The X and Y coordinates of a point on a document page.
///
///
///
/// For additional information, see Point
/// in the Amazon Textract API reference.
///
///
public partial class Point
{
private float? _x;
private float? _y;
///
/// Gets and sets the property X.
///
/// The value of the X coordinate for a point on a polygon
///
///
public float X
{
get { return this._x.GetValueOrDefault(); }
set { this._x = value; }
}
// Check to see if X property is set
internal bool IsSetX()
{
return this._x.HasValue;
}
///
/// Gets and sets the property Y.
///
/// The value of the Y coordinate for a point on a polygon
///
///
public float Y
{
get { return this._y.GetValueOrDefault(); }
set { this._y = value; }
}
// Check to see if Y property is set
internal bool IsSetY()
{
return this._y.HasValue;
}
}
}