Summary: Align C# implementation with YogaKit #322 Closes https://github.com/facebook/yoga/pull/327 Reviewed By: emilsjolander Differential Revision: D4390687 Pulled By: splhack fbshipit-source-id: 28c87a45898fcd958a422d5e254ead0ec00d3562
33 lines
788 B
C#
33 lines
788 B
C#
/**
|
|
* Copyright (c) 2014-present, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*/
|
|
|
|
namespace Facebook.Yoga
|
|
{
|
|
[System.Obsolete]
|
|
public class Border
|
|
{
|
|
public float? Top;
|
|
public float? Bottom;
|
|
public float? Left;
|
|
public float? Right;
|
|
|
|
public Border(
|
|
float? top = null,
|
|
float? bottom = null,
|
|
float? left = null,
|
|
float? right = null)
|
|
{
|
|
Top = top;
|
|
Bottom = bottom;
|
|
Left = left;
|
|
Right = right;
|
|
}
|
|
}
|
|
}
|