API Reference
Class
LogoBuilder
Helpers for building simple logo pixels.
Inheritance
- Object
- LogoBuilder
Methods
public static Byte[] CreateCirclePng(Int32 size, Rgba32 color, Rgba32 accent, out Int32 width, out Int32 height) #Returns:
Byte[]Creates a circular PNG logo with an optional accent center.
Parameters
- size System.Int32
- Square size in pixels.
- color CodeGlyphX.Rendering.Png.Rgba32
- Outer circle color.
- accent CodeGlyphX.Rendering.Png.Rgba32
- Inner circle color.
- width System.Int32@
- Logo width in pixels.
- height System.Int32@
- Logo height in pixels.
Returns
PNG bytes.
public static Byte[] CreateCircleRgba(Int32 size, Rgba32 color, Rgba32 accent, out Int32 width, out Int32 height) #Returns:
Byte[]Creates a circular RGBA logo with an optional accent center.
Parameters
- size System.Int32
- Square size in pixels.
- color CodeGlyphX.Rendering.Png.Rgba32
- Outer circle color.
- accent CodeGlyphX.Rendering.Png.Rgba32
- Inner circle color.
- width System.Int32@
- Logo width in pixels.
- height System.Int32@
- Logo height in pixels.
Returns
RGBA pixel buffer.