Click or drag to resize

TextureScaling Methods

The TextureScaling type exposes the following members.

Methods
 NameDescription
Public methodEquals(Object)
(Overrides ValueTypeEquals(Object))
Public methodEquals(TextureScaling)Compares this value with another value.
Public methodGetHashCode
(Overrides ValueTypeGetHashCode)
Public methodGetResultingSizeGets the resulting size of the texture (for one repeat unit).
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)
Public methodWithScalingModeReturns a new TextureScaling instance with the ScalingMode value set to the provided value.
Public methodWithSourceAspectRatioPreservingReturns a new TextureScaling instance with the SourceAspectRatioPreserving value set to the provided value.
Public methodWithXReturns a new TextureScaling instance with the X value set to the provided value.
Public methodWithYReturns a new TextureScaling instance with the Y value set to the provided value.
Top
See Also