SKAlphaType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes how to interpret the alpha component of a pixel.
public enum SKAlphaType
- Inheritance
-
SKAlphaType
Fields
Opaque | 1 | All pixels are stored as opaque. |
Premul | 2 | All pixels have their alpha premultiplied in their color components. This is the natural format for the rendering target pixels. |
Unknown | 0 | |
Unpremul | 3 | All pixels have their color components stored without any regard to the alpha. e.g. this is the default configuration for PNG images. This alpha-type is ONLY supported for input images. Rendering cannot generate this on output. |
Applies to
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour