Texture |
The TextureScalingController type exposes the following members.
| Name | Description | |
|---|---|---|
| AspectModeNone | Gets or sets a value indicating that the aspect ratio is not preserved. | |
| AspectModeXPriority | Gets or sets a value indicating that the aspect ratio preserves x with priority. | |
| AspectModeYPriority | Gets or sets a value indicating that the aspect ratio preserves y with priority. | |
| IsDisposed |
Gets a value indicating whether this controller is already disposed.
(Inherited from ControllerBase) | |
| ModelObject |
Gets the model (document) that this controller manages.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView) | |
| NoDocumentException |
Gets an exception that is thrown when a controller was not initialized with a document.
(Inherited from ControllerBase) | |
| NotInitializedException |
Gets an exception that is thrown when a controller is not properly initialized.
(Inherited from ControllerBase) | |
| NoViewException |
Gets an exception that is thrown when a controller currently has no view.
(Inherited from ControllerBase) | |
| ProvisionalModelObject |
Gets the provisional model object. This is the model object that is based on the current user input.
(Inherited from MVCANDControllerEditImmutableDocBaseTModel, TView) | |
| ScaleX | Gets or sets the x scale. | |
| ScaleXEnvironment | Gets or sets the environment used for x scaling. | |
| ScaleY | Gets or sets the y scale. | |
| ScaleYEnvironment | Gets or sets the environment used for y scaling. | |
| ScalingModeAbsolute | Gets or sets a value indicating whether scaling uses absolute size. | |
| ScalingModeDestination | Gets or sets a value indicating whether scaling uses the destination size. | |
| ScalingModeSource | Gets or sets a value indicating whether scaling uses the source size. | |
| SizeEnvironment | Gets the size environment. | |
| SizeX | Gets or sets the absolute width. | |
| SizeY | Gets or sets the absolute height. | |
| SourceTextureSize | Sets the size of the source texture. This is used by the view to automatically change the value of one size/scale when the value for the other size/scale is changed. | |
| UseDocumentCopy |
Sets whether or not a copy of the document is used. If set to true, a copy of the document is used, so if the controller is not applied,
all changes can be reverted. If set to false, no copy must be made. The document is directly changed by the controller, and changes cannot be reverted.
Use the last option if a controller higher in the hierarchy has already made a copy of the document.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView) | |
| ViewObject |
Gets or sets the GUI element that shows the model to the user.
(Inherited from MVCANDControllerEditImmutableDocBaseTModel, TView) |