Thickness Thickness Thickness Thickness Struct

Definição

Descreve a espessura de um quadro em torno de um retângulo.Describes the thickness of a frame around a rectangle. Quatro valores Double descrevem os lados Left, Top, Right e Bottom do retângulo, respectivamente.Four Double values describe the Left, Top, Right, and Bottom sides of the rectangle, respectively.

public value class Thickness
[System.Security.SecurityCritical]
public struct Thickness
type Thickness = struct
Public Structure Thickness
Herança
Atributos

Comentários

Essa estrutura representa a projeção .NET da estrutura Windows Runtime (WinRT Thickness ).This struct represents the .NET projection of the Windows Runtime (WinRT) Thickness struct. Para obter mais informações, consulte espessura na referência da API UWP.For more information, see Thickness in the UWP API reference.

Construtores

Thickness(Double) Thickness(Double) Thickness(Double) Thickness(Double)

Inicializa uma estrutura Thickness que tem o comprimento uniforme especificado em cada lado.Initializes a Thickness structure that has the specified uniform length on each side.

Thickness(Double, Double, Double, Double) Thickness(Double, Double, Double, Double) Thickness(Double, Double, Double, Double) Thickness(Double, Double, Double, Double)

Inicializa uma estrutura Thickness que tem comprimentos específicos (fornecidos como um Double) aplicados a cada lado do retângulo.Initializes a Thickness structure that has specific lengths (supplied as a Double) applied to each side of the rectangle.

Propriedades

Bottom Bottom Bottom Bottom

Obtém ou define a largura, em pixels, do lado inferior do retângulo delimitador.Gets or sets the width, in pixels, of the lower side of the bounding rectangle.

Left Left Left Left

Obtém ou define a largura, em pixels, do lado esquerdo do retângulo delimitador.Gets or sets the width, in pixels, of the left side of the bounding rectangle.

Right Right Right Right

Obtém ou define a largura, em pixels, do lado direito do retângulo delimitador.Gets or sets the width, in pixels, of the right side of the bounding rectangle.

Top Top Top Top

Obtém ou define a largura, em pixels, do lado superior do retângulo delimitador.Gets or sets the width, in pixels, of the upper side of the bounding rectangle.

Métodos

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Compara esta estrutura Thickness com outro Object quanto à igualdade.Compares this Thickness structure to another Object for equality.

Equals(Thickness) Equals(Thickness) Equals(Thickness) Equals(Thickness)

Compara esta estrutura Thickness com outra estrutura Thickness quanto à igualdade.Compares this Thickness structure to another Thickness structure for equality.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Retorna o código hash do struct.Returns the hash code of the struct.

ToString() ToString() ToString() ToString()

Retorna a representação de cadeia de caracteres da estrutura Thickness.Returns the string representation of the Thickness structure.

Operadores

Equality(Thickness, Thickness) Equality(Thickness, Thickness) Equality(Thickness, Thickness) Equality(Thickness, Thickness)

Compara o valor de dois structs Thickness quanto à igualdade.Compares the value of two Thickness structs for equality.

Inequality(Thickness, Thickness) Inequality(Thickness, Thickness) Inequality(Thickness, Thickness) Inequality(Thickness, Thickness)

Compara a desigualdade de dois structs Thickness.Compares two Thickness structs for inequality.

Aplica-se a

Veja também