KOSMIndoorMap

mapcssproperty.h
1/*
2 SPDX-FileCopyrightText: 2020 Volker Krause <vkrause@kde.org>
3 SPDX-License-Identifier: LGPL-2.0-or-later
4*/
5
6#ifndef KOSMINDOORMAP_MAPCSSPROPERTY_H
7#define KOSMINDOORMAP_MAPCSSPROPERTY_H
8
9namespace KOSMIndoorMap {
10
11/** Known properties in MapCSS declarations. */
12enum class MapCSSProperty {
13 Unknown,
14
15 // general properties
16 ZIndex, /// z-order
17
18 // line properties
19 Width, /// line width
20 Color, /// line color
21 Opacity, /// line opacity
22 Dashes, /// line dash pattern
23 Image, /// fill image for the line
24 LineCap, /// line end cap style: none (default), round, square
25 LineJoin, /// line join style: round (default), miter, bevel
26
27 // line casing properties
28 CasingWidth, /// line casing width
29 CasingColor, /// line casing color
30 CasingOpacity, /// line casing opacity
31 CasingDashes, /// line casing dash pattern
32 CasingLineCap, /// line casing end cap
33 CasingLineJoin, /// line casing join style
34
35 // missing here: extrude properties
36
37 // polygon (and canvas) properties
38 FillColor, /// area fill color
39 FillOpacity, /// area fill opacity
40 FillImage, /// image to fill the area with
41
42 // icon properties
43 IconImage, /// URL to the icon image
44 IconWidth, /// icon width
45 IconHeight, /// icon height
46 IconOpacity, /// icon opacity
47 IconColor, /// for colorized SVGs, non-standard extension
48 IconAllowTextOverlap, /// the equivalent to CartoCSS's allow-overlap, non-standard extension
49 IconAllowIconOverlap, /// the equivalent to CartoCSS's ignore-placement, non-standard extension
50
51 // label properties
52 FontFamily, /// font name
53 FontSize, /// font size
54 FontWeight, /// font weight: bold or normal (default)
55 FontStyle, /// italic or normal (default)
56 FontVariant, /// small-caps or normal (default)
57 TextDecoration, /// none (default) or underline
58 TextTransform, /// none (default), uppercase, lowercase or capitalize
59 TextColor, /// text color used for the label
60 TextOpacity, /// text opacity
61 TextPosition, /// @p line or @p center
62 TextOffset, /// vertical offset from the center of the way or point
63 MaxWidth, /// maximum width before wrapping
64 Text, /// label content
65 TextHaloColor, /// text halo color
66 TextHaloRadius, /// text halo radius
67 TextRequireFit, /// text has to fit into its associated geometry (custom extension)
68
69 // shield properties (casing > frame > shield > text)
70 ShieldColor, /// shield color
71 ShieldOpacity, /// shield opacity
72 ShieldFrameColor, /// shield frame color
73 ShieldFrameWidth, /// shield frame width (0 to disable)
74 ShieldCasingColor, /// shield casing color
75 ShieldCasingWidth, /// shield casing width
76 ShieldText, /// text to render on the shield
77 ShieldImage, /// background image of the shield
78 ShieldShape, /// @p rounded or @p rectangular
79
80 // 3D extrusion
81 Extrude,
82};
83
84}
85
86#endif
OSM-based multi-floor indoor maps for buildings.
MapCSSProperty
Known properties in MapCSS declarations.
@ LineJoin
line end cap style: none (default), round, square
@ CasingDashes
line casing opacity
@ IconWidth
URL to the icon image.
@ FontStyle
font weight: bold or normal (default)
@ ShieldText
shield casing width
@ CasingOpacity
line casing color
@ ShieldFrameWidth
shield frame color
@ TextOpacity
text color used for the label
@ CasingColor
line casing width
@ TextRequireFit
text halo radius
@ FillImage
area fill opacity
@ FillColor
line casing join style
@ ShieldFrameColor
shield opacity
@ LineCap
fill image for the line
@ CasingLineCap
line casing dash pattern
@ IconAllowIconOverlap
the equivalent to CartoCSS's allow-overlap, non-standard extension
@ FontVariant
italic or normal (default)
@ CasingLineJoin
line casing end cap
@ ShieldCasingWidth
shield casing color
@ Text
maximum width before wrapping
@ TextTransform
none (default) or underline
@ TextColor
none (default), uppercase, lowercase or capitalize
@ ShieldImage
text to render on the shield
@ IconAllowTextOverlap
for colorized SVGs, non-standard extension
@ ShieldShape
background image of the shield
@ ShieldColor
text has to fit into its associated geometry (custom extension)
@ TextHaloRadius
text halo color
@ ShieldCasingColor
shield frame width (0 to disable)
@ CasingWidth
line join style: round (default), miter, bevel
@ Image
line dash pattern
@ TextDecoration
small-caps or normal (default)
@ IconImage
image to fill the area with
@ MaxWidth
vertical offset from the center of the way or point
@ FontFamily
the equivalent to CartoCSS's ignore-placement, non-standard extension
@ FillOpacity
area fill color
@ Extrude
rounded or rectangular
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:11:15 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.