Class ScaleTransform3D
Scales an object in the three-dimensional x-y-z plane, starting from a defined center point. Scale factors are defined in x-, y-, and z- directions from this center point.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Media.Media3D
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public class ScaleTransform3D : AffineTransform3D, INotifyPropertyChanged
Constructors
ScaleTransform3D()
Initializes a new instance of the ScaleTransform3D class.
Declaration
public ScaleTransform3D()
ScaleTransform3D(Double, Double, Double)
Initializes a new instance of the ScaleTransform3D class using the specified scale factors.
Declaration
public ScaleTransform3D(double scaleX, double scaleY, double scaleZ)
Parameters
System.Double
scaleX
Factor by which to scale the X value. |
System.Double
scaleY
Factor by which to scale the Y value. |
System.Double
scaleZ
Factor by which to scale the Z value. |
ScaleTransform3D(Double, Double, Double, Double, Double, Double)
Initializes a new instance of the ScaleTransform3D class using the specified center coordinates and scale factors.
Declaration
public ScaleTransform3D(double scaleX, double scaleY, double scaleZ, double centerX, double centerY, double centerZ)
Parameters
System.Double
scaleX
Factor by which to scale the X value. |
System.Double
scaleY
Factor by which to scale the Y value. |
System.Double
scaleZ
Factor by which to scale the Z value. |
System.Double
centerX
X coordinate of the center point from which to scale. |
System.Double
centerY
Y coordinate of the center point from which to scale. |
System.Double
centerZ
Z coordinate of the center point from which to scale. |
ScaleTransform3D(Vector3D)
Initializes a new instance of the ScaleTransform3D class using the specified Vector3D.
Declaration
public ScaleTransform3D(Vector3D scale)
Parameters
Vector3D
scale
Vector3D along which the transformation scales. |
ScaleTransform3D(Vector3D, Point3D)
Initializes a new instance of the ScaleTransform3D class using the specified Vector3D and Point3D.
Declaration
public ScaleTransform3D(Vector3D scale, Point3D center)
Parameters
Vector3D
scale
Vector3D along which the transformation scales. |
Point3D
center
Center around which the transformation scales. |
Fields
CenterXProperty
Identifies the CenterX dependency property.
Declaration
public static readonly DependencyProperty CenterXProperty
Field Value
System.Windows.DependencyProperty
|
CenterYProperty
Identifies the CenterY dependency property.
Declaration
public static readonly DependencyProperty CenterYProperty
Field Value
System.Windows.DependencyProperty
|
CenterZProperty
Identifies the CenterZ dependency property.
Declaration
public static readonly DependencyProperty CenterZProperty
Field Value
System.Windows.DependencyProperty
|
ScaleXProperty
Identifies the ScaleX dependency property.
Declaration
public static readonly DependencyProperty ScaleXProperty
Field Value
System.Windows.DependencyProperty
|
ScaleYProperty
Identifies the ScaleY dependency property.
Declaration
public static readonly DependencyProperty ScaleYProperty
Field Value
System.Windows.DependencyProperty
|
ScaleZProperty
Identifies the ScaleZ dependency property.
Declaration
public static readonly DependencyProperty ScaleZProperty
Field Value
System.Windows.DependencyProperty
|
Properties
CenterX
Gets or sets the x-coordinate of the transform's center point. This is a dependency property.
Declaration
public double CenterX { get; set; }
Property Value
System.Double
|
CenterY
Gets or sets the y-coordinate of the transform's center point. This is a dependency property.
Declaration
public double CenterY { get; set; }
Property Value
System.Double
|
CenterZ
Gets or sets the z-coordinate of the transform's center point. This is a dependency property.
Declaration
public double CenterZ { get; set; }
Property Value
System.Double
|
ScaleX
Gets or sets the scale factor in the x-direction. This is a dependency property.
Declaration
public double ScaleX { get; set; }
Property Value
System.Double
|
ScaleY
Gets or sets the scale factor in the y-direction. This is a dependency property.
Declaration
public double ScaleY { get; set; }
Property Value
System.Double
|
ScaleZ
Gets or sets the scale factor in the z-direction. This is a dependency property.
Declaration
public double ScaleZ { get; set; }
Property Value
System.Double
|
Methods
CenterScaleChangedHandler(DependencyObject, DependencyPropertyChangedEventArgs)
Center or scale property changed callback.
Declaration
protected static void CenterScaleChangedHandler(DependencyObject source, DependencyPropertyChangedEventArgs eventArgs)
Parameters
System.Windows.DependencyObject
source
Source. |
System.Windows.DependencyPropertyChangedEventArgs
eventArgs
Event Args. |