![]() |
LuciadCPillar C# 2024.1.05
|
This class contains settings that can be used as defaults for IFeatureHandlesProvider
and IGeometryHandlesProvider
implementations.
More...
Public Member Functions | |
EditSettings () | |
Creates a new EditSettings instance with default values. More... | |
void | Dispose () |
Properties | |
Luciad.Drawing.IIcon | AuxiliaryHandleIconActive [get, set] |
The auxiliary icon for Active handles. More... | |
Luciad.Drawing.IIcon | AuxiliaryHandleIconHighlighted [get, set] |
The auxiliary icon for Highlighted handles. More... | |
Luciad.Drawing.IIcon | AuxiliaryHandleIconRegular [get, set] |
The auxiliary icon for Inactive handles. More... | |
Luciad.Layers.Styles.ComplexStrokes.ComplexStrokeLineStyle | ComplexStrokeOutlineStyleActive [get, set] |
The complex stroke line style that is used for Active handles that paint an outline. More... | |
Luciad.Layers.Styles.ComplexStrokes.ComplexStrokeLineStyle | ComplexStrokeOutlineStyleHighlighted [get, set] |
The complex stroke line style that is used for Highlighted handles that paint an outline. More... | |
Luciad.Layers.Styles.ComplexStrokes.ComplexStrokeLineStyle | ComplexStrokeOutlineStyleRegular [get, set] |
The complex stroke line style that is used for Inactive handles that paint an outline. More... | |
Luciad.Input.Mouse.MouseButton | ElevationButton [get, set] |
The mouse button that is used by handles to modify elevation. More... | |
Luciad.Maps.MouseCursor | ElevationCursor [get, set] |
The cursor that is used for handles that manipulate elevation. More... | |
Luciad.Input.ModifierKeys | ElevationModifierKeys [get, set] |
The modifier keys that are used by handles to modify elevation. More... | |
Luciad.Drawing.IIcon | HandleIconActive [get, set] |
The icon for Active handles. More... | |
Luciad.Drawing.IIcon | HandleIconHighlighted [get, set] |
The icon for Highlighted handles. More... | |
Luciad.Drawing.IIcon | HandleIconRegular [get, set] |
The icon for Inactive handles. More... | |
Luciad.Input.Mouse.MouseButton | InsertButton [get, set] |
The mouse button that is used by handles to insert something. More... | |
Luciad.Maps.MouseCursor | InsertCursor [get, set] |
The cursor that is used for handles that insert something. More... | |
Luciad.Input.ModifierKeys | InsertModifierKeys [get, set] |
The modifier keys that are used by handles to insert something. More... | |
Luciad.Input.Mouse.MouseButton | MoveButton [get, set] |
The mouse button that is used by handles to move something. More... | |
Luciad.Maps.MouseCursor | MoveCursor [get, set] |
The cursor that is used for handles that move something. More... | |
Luciad.Input.ModifierKeys | MoveModifierKeys [get, set] |
The modifier keys that are used by handles to move something. More... | |
Luciad.Layers.Styles.LineStyle | OutlineStyleActive [get, set] |
The line style that is used for Active handles that paint an outline. More... | |
Luciad.Layers.Styles.LineStyle | OutlineStyleHighlighted [get, set] |
The line style that is used for Highlighted handles that paint an outline. More... | |
Luciad.Layers.Styles.LineStyle | OutlineStyleRegular [get, set] |
The line style that is used for Inactive handles that paint an outline. More... | |
Luciad.Input.Mouse.MouseButton | PrependAppendButton [get, set] |
The mouse button that is used by handles that prepend or append something. More... | |
Luciad.Maps.MouseCursor | PrependAppendCursor [get, set] |
The cursor that is used for handles that prepend or append something. More... | |
Luciad.Input.ModifierKeys | PrependAppendModifierKeys [get, set] |
The modifier keys that are used by handles to prepend or append something. More... | |
Luciad.Input.Mouse.MouseButton | RemoveButton [get, set] |
The mouse button that is used by handles to remove something. More... | |
Luciad.Maps.MouseCursor | RemoveCursor [get, set] |
The cursor that is used for handles that remove something. More... | |
Luciad.Input.ModifierKeys | RemoveModifierKeys [get, set] |
The modifier keys that are used by handles to remove something. More... | |
Luciad.Layers.Styles.ComplexStrokes.ComplexStrokeLineStyle | ShadowComplexStrokeLineStyle [get, set] |
The complex stroke line style that is used for shadow lines. More... | |
Luciad.Layers.Styles.FillStyle | ShadowFillStyle [get, set] |
The fill style that is used when a shadow version of a geometry is painted. More... | |
Luciad.Drawing.IIcon | ShadowIcon [get, set] |
The icon that is used when a shadow version of a geometry is painted. More... | |
Luciad.Layers.Styles.LineStyle | ShadowLineStyle [get, set] |
The line style that is used for shadow lines. More... | |
Luciad.Input.Mouse.MouseButton | TranslateButton [get, set] |
The mouse button that is used for translate handles. More... | |
Luciad.Maps.MouseCursor | TranslateCursor [get, set] |
The cursor that is used for translate handles. More... | |
Luciad.Input.ModifierKeys | TranslateModifierKeys [get, set] |
The modifier keys that are used by the translate handles. More... | |
Luciad.Layers.Styles.ComplexStrokes.ComplexStrokeLineStyle | VisualAidComplexStrokeLineStyle [get, set] |
The complex stroke line style that is used for visual aid lines. More... | |
Luciad.Layers.Styles.LineStyle | VisualAidLineStyle [get, set] |
The line style that is used for visual aid lines. More... | |
This class contains settings that can be used as defaults for IFeatureHandlesProvider
and IGeometryHandlesProvider
implementations.
To change the defaults, you can create a new instance of this class, adapt the settings, and configure it on the Editor
class.
These settings are typically used in the following way:
handle icon
: for point handles. See PointEditHandle
. highlighted handle icon
: for point handles when in a highlighted state. If null
, the regular icon will be used instead. active handle icon
: for point handles when in an active state. If null
, the highlighted icon will be used instead, or the active one if that one is null
as well. auxiliary handle icon
: for point handles that require different styling. An example is the insert handle for polylines. See PointEditHandle
. highlighted
and active
auxiliary icons behave the same as the normal handle icons. outline style
: for handles that manipulate an outline visual aid style
: for handles that paint an additional helper line. For example: a vertical line that connects a handle with the terrain. See PointEditHandle
. shadow icon and styles
: for handles that paint a shadow version of a geometry on the terrain. This is for example done by TranslateEditHandle
. cursors
: you can configure cursors for different types of actions mouse buttons
: you can configure the mouse button that is used for different types of actions modifier keys
: you can configure the modifier keys that are used for different types of actions If you need to customize edit behavior that is not available in this class, you can do so by creation and customizing the handles directly. The following handle implementations can for example be used and customized:
Most handles providers allow you to specify which handles are used. See for example:
PointHandlesProvider.IHandleFactory
PolylineHandlesProvider.IHandleFactory
PolylineRingHandlesProvider.IHandleFactory
|
inline |
Creates a new EditSettings
instance with default values.
|
inline |
|
getset |
|
getset |
The auxiliary icon for Highlighted
handles.
Returns the auxiliary icon for Highlighted
handles.
Sets the auxiliary icon for Highlighted
handles. Can be null
. In that case no icon is painted.
|
getset |
|
getset |
The complex stroke line style that is used for Active
handles that paint an outline.
Returns the complex stroke line style that is used for Active
handles that paint an outline. This method is linked to the OutlineStyleActive
method:
null
, no outline is painted null
, that line style is used null
value: they are mutually exclusive Sets the complex stroke line style that is used for Active
handles that paint an outline. Only one active line style can be set, if this function is called with a non null
value when a LineStyle
has already been set, it will be overwritten.
|
getset |
The complex stroke line style that is used for Highlighted
handles that paint an outline.
Returns the complex stroke line style that is used for Highlighted
handles that paint an outline. This method is linked to the OutlineStyleHighlighted
method:
null
, no outline is painted null
, that line style is used null
value: they are mutually exclusive Sets the complex stroke line style that is used for Highlighted
handles that paint an outline. Only one active line style can be set, if this function is called with a non null
value when a LineStyle
has already been set, it will be overwritten.
|
getset |
The complex stroke line style that is used for Inactive
handles that paint an outline.
Returns the complex stroke line style that is used for Inactive
handles that paint an outline. This method is linked to the OutlineStyleRegular
method:
null
, no outline is painted null
, that line style is used null
value: they are mutually exclusive Sets the complex stroke line style that is used for Inactive
handles that paint an outline. Only one active line style can be set, if this function is called with a non null
value when a LineStyle
has already been set, it will be overwritten.
|
getset |
The mouse button that is used by handles to modify elevation.
Returns the mouse button that is used by handles to modify elevation.
Sets the mouse button that is used by handles to modify elevation.
|
getset |
The cursor that is used for handles that manipulate elevation.
Returns the cursor that is used for handles that manipulate elevation.
Sets the cursor that is used for handles that manipulate elevation.
|
getset |
The modifier keys that are used by handles to modify elevation.
Returns the modifier keys that are used by handles to modify elevation.
Sets the modifier keys that are used by handles to modify elevation.
|
getset |
|
getset |
The icon for Highlighted
handles.
Returns the icon for Highlighted
handles.
Sets the icon for Highlighted
handles. Can be null
. In that case no icon is painted.
|
getset |
|
getset |
The mouse button that is used by handles to insert something.
Returns the mouse button that is used by handles to insert something.
Sets the mouse button that is used by handles to insert something.
|
getset |
The cursor that is used for handles that insert something.
Returns the cursor that is used for handles that insert something.
Sets the cursor that is used for handles that insert something.
|
getset |
The modifier keys that are used by handles to insert something.
Returns the modifier keys that are used by handles to insert something.
Sets the modifier keys that are used by handles to insert something.
|
getset |
The mouse button that is used by handles to move something.
Returns the mouse button that is used by handles to move something.
Sets the mouse button that is used by handles to move something.
|
getset |
The cursor that is used for handles that move something.
Returns the cursor that is used for handles that move something.
Sets the cursor that is used for handles that move something.
|
getset |
The modifier keys that are used by handles to move something.
Returns the modifier keys that are used by handles to move something.
Sets the modifier keys that are used by handles to move something.
|
getset |
The line style that is used for Active
handles that paint an outline.
Returns the line style that is used for Active
handles that paint an outline. This method is linked to the ComplexStrokeOutlineStyleActive
method:
null
, no outline is painted null
, that line style is used null
value: they are mutually exclusive Sets the line style that is used for Active
handles that paint an outline. Only one active line style can be set, if this function is called with a non null
value when a ComplexStrokeLineStyle
has already been set, it will be overwritten.
|
getset |
The line style that is used for Highlighted
handles that paint an outline.
Returns the line style that is used for Highlighted
handles that paint an outline. This method is linked to the ComplexStrokeOutlineStyleHighlighted
method:
null
, no outline is painted null
, that line style is used null
value: they are mutually exclusive Sets the line style that is used for Highlighted
handles that paint an outline. Only one highlighted line style can be set, if this function is called with a non null
value when a ComplexStrokeLineStyle
has already been set, it will be overwritten.
|
getset |
The line style that is used for Inactive
handles that paint an outline.
Returns the line style that is used for Inactive
handles that paint an outline. This method is linked to the ComplexStrokeOutlineStyleRegular
method:
null
, no outline is painted null
, that line style is used null
value: they are mutually exclusive Sets the line style that is used for Inactive
handles that paint an outline. Only one regular line style can be set, if this function is called with a non null
value when a ComplexStrokeLineStyle
has already been set, it will be overwritten.
|
getset |
The mouse button that is used by handles that prepend or append something.
Returns the mouse button that is used by handles that prepend or append something.
Sets the mouse button that is used by handles that prepend or append something.
|
getset |
The cursor that is used for handles that prepend or append something.
Returns the cursor that is used for handles that prepend or append something.
Sets the cursor that is used for handles that prepend or append something.
|
getset |
The modifier keys that are used by handles to prepend or append something.
Returns the modifier keys that are used by handles to prepend or append something.
Sets the modifier keys that are used by handles to prepend or append something.
|
getset |
The mouse button that is used by handles to remove something.
Returns the mouse button that is used by handles to remove something.
Sets the mouse button that is used by handles to remove something.
|
getset |
The cursor that is used for handles that remove something.
Returns the cursor that is used for handles that remove something.
Sets the cursor that is used for handles that remove something.
|
getset |
The modifier keys that are used by handles to remove something.
Returns the modifier keys that are used by handles to remove something.
Sets the modifier keys that are used by handles to remove something.
|
getset |
The complex stroke line style that is used for shadow lines.
Returns the complex stroke line style that is used for shadow lines. This method is linked to the ShadowLineStyle
method:
null
, no shadow line is painted null
, that shadow line style is used null
value: they are mutually exclusive Sets the complex stroke line style that is used for shadow lines. Only one shadow line style can be set, if this function is called with a non null
value when a ComplexStrokeLineStyle
has already been set, it will be overwritten.
|
getset |
The fill style that is used when a shadow version of a geometry is painted.
Returns the fill style that is used when a shadow version of a geometry is painted.
Sets the fill style that is used when a shadow version of a geometry is painted. Setting this to null
means the shadow version of the geometry won't have a fill style.
|
getset |
The icon that is used when a shadow version of a geometry is painted.
Returns the icon that is used when a shadow version of a geometry is painted.
Sets the icon that is used when a shadow version of a geometry is painted. Can be null
. In that case no icon is painted.
|
getset |
The line style that is used for shadow lines.
Returns the line style that is used for shadow lines. This method is linked to the ShadowComplexStrokeLineStyle
method:
null
, no shadow line is painted null
, that shadow line style is used null
value: they are mutually exclusive Sets the line style that is used for shadow lines. Only one shadow line style can be set, if this function is called with a non null
value when a ComplexStrokeLineStyle
has already been set, it will be overwritten.
|
getset |
The mouse button that is used for translate handles.
Returns the mouse button that is used for translate handles.
Sets the mouse button that is used for translate handles.
|
getset |
The cursor that is used for translate handles.
Returns the cursor that is used for translate handles.
Sets the cursor that is used for translate handles.
|
getset |
The modifier keys that are used by the translate handles.
Returns the modifier keys that are used by the translate handles.
Sets the modifier keys that are used by the translate handles.
|
getset |
The complex stroke line style that is used for visual aid lines.
Returns the complex stroke line style that is used for visual aid lines. This method is linked to the VisualAidLineStyle
method:
null
, no visual aid line is painted null
, that visual aid line style is used null
value: they are mutually exclusive Sets the complex stroke line style that is used for visual aid lines. Only one visual aid line style can be set, if this function is called with a non null
value when a ComplexStrokeLineStyle
has already been set, it will be overwritten.
|
getset |
The line style that is used for visual aid lines.
Returns the line style that is used for visual aid lines. This method is linked to the VisualAidComplexStrokeLineStyle
method:
null
, no visual aid line is painted null
, that visual aid line style is used null
value: they are mutually exclusive Sets the line style that is used for visual aid lines. Only one visual aid line style can be set, if this function is called with a non null
value when a ComplexStrokeLineStyle
has already been set, it will be overwritten.