Comentsys.Assets.Display
2.0.0
dotnet add package Comentsys.Assets.Display --version 2.0.0
NuGet\Install-Package Comentsys.Assets.Display -Version 2.0.0
<PackageReference Include="Comentsys.Assets.Display" Version="2.0.0" />
<PackageVersion Include="Comentsys.Assets.Display" Version="2.0.0" />
<PackageReference Include="Comentsys.Assets.Display" />
paket add Comentsys.Assets.Display --version 2.0.0
#r "nuget: Comentsys.Assets.Display, 2.0.0"
#:package Comentsys.Assets.Display@2.0.0
#addin nuget:?package=Comentsys.Assets.Display&version=2.0.0
#tool nuget:?package=Comentsys.Assets.Display&version=2.0.0
Comentsys.Assets.Display
Comentsys.Assets.Display is an Asset Resource in .NET Standard for Displays including Segment and Matrix using Comentsys.Toolkit.
Change Log
Version 2.0.0
- Updated Display for Matrix with Style including Square, Circle, Hexagon and Octagon
Version 1.0.0
- Initial Release
Segment
Segment
represents a Seven-Segment Display
You can also supply an Array of Colours or a single Colour to customise the Segment by replacing Fill used in
the Asset to the various Methods to Get
an Asset Resource.
Example
Get(value, fill)
Get Asset Resource
Name | Description |
---|---|
value | Comentsys.Assets.Display.Value<br>Value |
fill | System.Drawing.Color[]<br>Fill Colours |
Returns
Asset Resource
Get(value, fill)
Get Asset Resource
Name | Description |
---|---|
value | Comentsys.Assets.Display.Value<br>Value |
fill | System.Nullable{System.Drawing.Color}<br>Fill Colour |
Returns
Asset Resource
Get(value)
Get Asset Resource
Name | Description |
---|---|
value | Comentsys.Assets.Display.Value<br>Value |
Returns
Asset Resource
Get(value, fill)
Get Asset Resource
Name | Description |
---|---|
value | System.Int32<br>Value |
fill | System.Drawing.Color[]<br>Fill Colours |
Returns
Asset Resource
Get(value, fill)
Get Asset Resource
Name | Description |
---|---|
value | System.Int32<br>Value |
fill | System.Nullable{System.Drawing.Color}<br>Fill Colour |
Returns
Asset Resource
Get(value)
Get Asset Resource
Name | Description |
---|---|
value | System.Int32<br>Value |
Returns
Asset Resource
Matrix
Matrix
represents a Five-by-Seven Dot Matrix Display where you can select a Style
for each Pixel of the Matrix
from Square
, Circle
, Hexagon
and Octagon
.
You can also supply an Array of Colours or a single Colour to customise the Matrix by replacing Fill used in the Asset to the various Methods to Get
an Asset Resource.
Examples
Matrix - Square
Matrix - Circle
Matrix - Hexagon
Matrix - Octagon
Get(value, fill, style)
Get Asset Resource
Name | Description |
---|---|
value | Comentsys.Assets.Display.Value<br>Value |
fill | System.Drawing.Color[]<br>Fill Colours |
style | Comentsys.Assets.Display.Style<br>Style |
Returns
Asset Resource
Get(value, fill, style)
Get Asset Resource
Name | Description |
---|---|
value | Comentsys.Assets.Display.Value<br>Value |
fill | System.Nullable{System.Drawing.Color}<br>Fill Colour |
style | Comentsys.Assets.Display.Style<br>Style |
Returns
Asset Resource
Get(value, style)
Get Asset Resource
Name | Description |
---|---|
value | Comentsys.Assets.Display.Value<br>Value |
style | Comentsys.Assets.Display.Style<br>Style |
Returns
Asset Resource
Get(value, fill, style)
Get Asset Resource
Name | Description |
---|---|
value | System.Int32<br>Value |
fill | System.Drawing.Color[]<br>Fill Colours |
style | Comentsys.Assets.Display.Style<br>Style |
Returns
Asset Resource
Get(value, fill, style)
Get Asset Resource
Name | Description |
---|---|
value | System.Int32<br>Value |
fill | System.Nullable{System.Drawing.Color}<br>Fill Colour |
style | Comentsys.Assets.Display.Style<br>Style |
Returns
Asset Resource
Get(value, style)
Get Asset Resource
Name | Description |
---|---|
value | System.Int32<br>Value |
style | Comentsys.Assets.Display.Style<br>Style |
Returns
Asset Resource
Value
Value
represents the Display Value supported by Segment
and Matrix
including numbers 0
to 9
and -
, :
along with a Display
that is Blank
or Filled
Zero
Represents Zero (0)
One
Represents One (1)
Two
Represents Two (2)
Three
Represents Three (3)
Four
Represents Four (4)
Five
Represents Five (5)
Six
Represents Six (6)
Seven
Represents Seven (7)
Eight
Represents Eight (8)
Nine
Represents Nine (9)
Dash
Represents Dash (-)
Colon
Represents Colon (:)
Blank
Represents Blank ( )
Filled
Represents Filled
Style
Style
represents the Matrix Style to represent the Shape of each Pixel of the Matrix
.
Square
Square
Circle
Circle
Hexagon
Hexagon
Octagon
Octagon
Licence
The MIT License (MIT)
Copyright (c) Comentsys
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Comentsys.Toolkit (>= 1.3.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Comentsys.Assets.Display:
Package | Downloads |
---|---|
Comentsys.Toolkit.Blazor
Blazor Toolkit for Blazor Server and / or Blazor WebAssembly Components |
GitHub repositories
This package is not used by any popular GitHub repositories.
1.0.0 - Initial Release
2.0.0 - Updated Display for Matrix with Style including Square, Circle, Hexagon and Octagon