Click or drag to resize

TextureScaling Properties

The TextureScaling type exposes the following members.

Properties
 NameDescription
Public propertyStatic memberDefaultGets the default texture scaling.
Public propertyScalingModeGets or sets the scaling mode, i.e. how the texture image should be scaled.
Public propertySourceAspectRatioPreservingGets or sets whether the aspect ratio of the texture image should be preserved.
Public propertyXIf ScalingMode is Absolute, this value is the horizontal size of the texture (repeat length) in Points (1/72 inch). Otherwise, it is the horizontal scaling factor related either to the source image width or the destination image width.
Public propertyYIf ScalingMode is Absolute, this value is the vertical size of the texture (repeat length) in Points (1/72 inch). Otherwise, it is the vertical scaling factor related either to the source image width or the destination image height.
Top
See Also