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
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente GitHub Issues como mecanismo de comentarios sobre el contenido y lo sustituiremos por un nuevo sistema de comentarios. Para más información, vea:Enviar y ver comentarios de