SegmentedDisplayGenerateSegments Method
Method generates a an
IList of
PolylineGeometry objects, which are then rendered to the
SegmentedDisplay.
Each
PolylineGeometry represents one segment. The input argument contains information whether a particular segment should be drawn or not.
The positions of
Boolean values in the input array denotes the segment to be drawn/hidden. The segments are positions in the array in the following way:
Vertical Segments: 0 - left bottom, 1 - left upper, 3 - right upper, 4 - right bottom
Horizontal Segments: 2 - upper, 5 - bottom, 6 - middle
Namespace: BeeMobile.SegmentedDisplayAssembly: BeeMobile.SegmentedDisplay.AVA (in BeeMobile.SegmentedDisplay.AVA.dll) Version: 11.0.0.2+315bba37e2b03f6d3a984dc7af81610a1fb5ada7
protected virtual IList<PolylineGeometry> GenerateSegments(
bool[] segments,
Point offset = default
)
abstract GenerateSegments :
segments : bool[] *
?offset : Point
(* Defaults:
let _offset = defaultArg offset new Point()
*)
-> IList<PolylineGeometry>
override GenerateSegments :
segments : bool[] *
?offset : Point
(* Defaults:
let _offset = defaultArg offset new Point()
*)
-> IList<PolylineGeometry>
- segments Boolean
- Array of Boolean values which contains an information about visibility of each segment.
- offset Point (Optional)
- Offsets all generated segments by offset specified in this input argument. Default is 0;0
IListPolylineGeometryAn
IList of
PolylineGeometry objects which represent the segments.
You can override this method, if you want to customize the shape(s) of segments in
SegmentedDisplay.