Thickness Estructura

Definición

Struct que define el grosor en torno a los bordes de un Rectangle mediante valores double.Struct defining thickness around the edges of a Rectangle using doubles.

[System.Diagnostics.DebuggerDisplay("Left={Left}, Top={Top}, Right={Right}, Bottom={Bottom}, HorizontalThickness={HorizontalThickness}, VerticalThickness={VerticalThickness}")]
[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.ThicknessTypeConverter))]
public struct Thickness
type Thickness = struct
Herencia
Thickness
Atributos

Constructores

Thickness(Double)

Crea un objeto Thickness que representa un grosor uniforme de tamaño uniformSize.Creates a new Thickness object that represents a uniform thickness of size uniformSize.

Thickness(Double, Double)

Crea un objeto Thickness que tiene un grosor horizontal de horizontalSize y un grosor de vertical de verticalSize.Creates a new Thickness object that has a horizontal thickness of horizontalSize and a vertical thickness of verticalSize.

Thickness(Double, Double, Double, Double)

Crea un objeto Thickness con los grosores definidos por left, top, right y bottom.Creates a new Thickness object with thicknesses defined by left, top, right, and bottom.

Propiedades

Bottom

Grosor de la parte inferior de un rectángulo.The thickness of the bottom of a rectangle.

HorizontalThickness

La suma de Left y Right.The sum of Left and Right.

Left

Grosor del lado izquierdo de un rectángulo.The thickness of the left side of a rectangle.

Right

Grosor del lado derecho de un rectángulo.The thickness of the right side of a rectangle.

Top

Grosor del lado superior de un rectángulo.The thickness of the top of a rectangle.

VerticalThickness

La suma de Top y Bottom.The sum of Top and Bottom.

Métodos

Deconstruct(Double, Double, Double, Double)

Almacena los componentes del grosor en los argumentos correspondientes.Stores the components of the thickness in the corresponding arguments.

Equals(Object)

Si obj es un Thickness con valores equivalentes.Whether the obj is a Thickness with equivalent values.

GetHashCode()

Valor hash de este Thickness.A has value for this Thickness.

Operadores

Equality(Thickness, Thickness)

Si dos objetos Thickness tienen valores idénticos.Whether two Thicknesses have identical values.

Implicit(Double to Thickness)

Operador de conversión implícito de Double.Implicit cast operator from Double.

Implicit(Size to Thickness)

Convierte Size a Thickness.Converts a Size into a Thickness.

Inequality(Thickness, Thickness)

Si los valores de dos objetos Thickness tienen una diferencia como mínimo.Whether the values of two Thickness's have at least one difference.

Se aplica a