2016-11-17 07:03:30 -08:00
|
|
|
/**
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2016-12-02 11:18:16 -08:00
|
|
|
namespace Facebook.Yoga
|
2016-11-17 07:03:30 -08:00
|
|
|
{
|
|
|
|
public class Spacing
|
|
|
|
{
|
2016-12-19 23:01:31 +01:00
|
|
|
public YogaValue? Top;
|
|
|
|
public YogaValue? Bottom;
|
|
|
|
public YogaValue? Left;
|
|
|
|
public YogaValue? Right;
|
2016-11-17 07:03:30 -08:00
|
|
|
|
|
|
|
public Spacing(
|
2016-12-19 23:01:31 +01:00
|
|
|
YogaValue? top = null,
|
|
|
|
YogaValue? bottom = null,
|
|
|
|
YogaValue? left = null,
|
|
|
|
YogaValue? right = null)
|
2016-11-17 07:03:30 -08:00
|
|
|
{
|
|
|
|
Top = top;
|
|
|
|
Bottom = bottom;
|
|
|
|
Left = left;
|
|
|
|
Right = right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|