콘텐츠로 이동

Thickness structure

이 콘텐츠는 아직 번역되지 않았습니다.

Represents the thickness of a border or margin (left, top, right, bottom).

public struct Thickness : IEquatable<Thickness>
name description
Thickness(…) Initializes a new instance of the Thickness struct with a uniform value. (3 constructors)
static readonly Zero Gets a zero thickness (0 on all sides).
Bottom { get; } Gets the bottom thickness.
HorizontalThickness { get; } Gets the combined left and right thickness.
IsUniform { get; } Gets a value indicating whether all sides have the same thickness.
Left { get; } Gets the left thickness.
Right { get; } Gets the right thickness.
Top { get; } Gets the top thickness.
VerticalThickness { get; } Gets the combined top and bottom thickness.
override Equals(…)
Equals(…) Determines whether this instance is equal to another thickness.
override GetHashCode()
override ToString()
operator + Adds two thicknesses component-wise.
operator == Determines whether two thicknesses are equal.
implicit operator Converts a uniform double value to a Thickness.
operator != Determines whether two thicknesses are not equal.
operator * Scales a thickness by a scalar factor.
operator - Subtracts two thicknesses component-wise.