ImageData¶
Namespace: WellFired.Guacamole
Description¶
Public Static Methods¶
byte[] | BuildEllipse ( int width, int height, UIColor backgroundColor, UIColor outlineColor, double thickness ) |
byte[] | BuildCircle ( int width, int height, UIColor backgroundColor, UIColor outlineColor, double thickness ) |
byte[] | BuildCircleQuarter ( QuarterCircle.Quarter quarter, int width, int height, UIColor backgroundColor, UIColor outlineColor, double thickness ) |
byte[] | BuildRect ( int width, int height, UIColor backgroundColor, UIColor outlineColor, double thickness, OutlineMask outlineMask ) |
byte[] | BuildRounded ( int width, int height, UIColor backgroundColor, UIColor outlineColor, double radius, double thickness, CornerMask cornerMask, OutlineMask outlineMask ) |
byte[] | ToRgbByteData ( :ref:`UIColor<structwellfired_guacamole_data_uicolor>`[] colors ) |
byte[] | ToRgbaByteData ( :ref:`UIColor<structwellfired_guacamole_data_uicolor>`[] colors ) |
byte[] | ToArgbByteData ( :ref:`UIColor<structwellfired_guacamole_data_uicolor>`[] colors ) |
:ref:`UIColor<structwellfired_guacamole_data_uicolor>`[] | FromRgbaByteData ( byte[] colors ) |
Breakdown¶
byte[] BuildEllipse ( int width, int height, UIColor backgroundColor, UIColor outlineColor, double thickness )
Description
A helpful utility method that allows us to quickly create a elipse texture inside a rect.
Parameters
width height backgroundColor outlineColor thickness
byte[] BuildCircle ( int width, int height, UIColor backgroundColor, UIColor outlineColor, double thickness )
Description
A helpful utility method that allows us to quickly create a circle texture
Parameters
width height backgroundColor outlineColor thickness
byte[] BuildCircleQuarter ( QuarterCircle.Quarter quarter, int width, int height, UIColor backgroundColor, UIColor outlineColor, double thickness )
Description
A helpful utility method that allows us to quickly create a quarter circle
Parameters
quarter width height backgroundColor outlineColor thickness
byte[] BuildRect ( int width, int height, UIColor backgroundColor, UIColor outlineColor, double thickness, OutlineMask outlineMask )
Description
A helpful utility method that allows us to quickly create a square texture
Parameters
width height backgroundColor outlineColor thickness outlineMask
byte[] BuildRounded ( int width, int height, UIColor backgroundColor, UIColor outlineColor, double radius, double thickness, CornerMask cornerMask, OutlineMask outlineMask )
Description
This is a helpful Utility method that allows you to create a texture with rounded corners.
Parameters
width height backgroundColor outlineColor radius thickness cornerMask outlineMask
- byte[] ToRgbByteData ( :ref:`UIColor<structwellfired_guacamole_data_uicolor>`[] colors )
- byte[] ToRgbaByteData ( :ref:`UIColor<structwellfired_guacamole_data_uicolor>`[] colors )
- byte[] ToArgbByteData ( :ref:`UIColor<structwellfired_guacamole_data_uicolor>`[] colors )
- :ref:`UIColor<structwellfired_guacamole_data_uicolor>`[] FromRgbaByteData ( byte[] colors )