← Back to carmenta.com
Carmenta Engine SDK Documentation
×

CustomSymbolProxy Class

A proxy for a custom symbol in map configurations.

Namespace: Carmenta.Engine
NuGet/Assembly: Carmenta.Engine.5.16.2.nupkg (in the CECustomObjects assembly)
Thread safety: Members defined in this class are, in general, not thread-safe. Show

Syntax

C#
public class CustomSymbolProxy : Symbol

Remarks

A custom symbol is a .NET, C++ or Java object that implements one of the ICustomSymbol or ICustomNativeSymbol interfaces. If you have written a custom symbol and want to use it in a map configuration, you need use a CustomSymbolProxy. The proxy works as regular Carmenta Engine symbol, but delegates most calls to the custom object.

There are two different ways to connect the custom symbol to the proxy:

  1. If the Api, LibraryName and ClassName properties are set, the proxy will automatically load the specified library and create an instance of the custom symbol.

  2. The application can itself create the custom symbol instance in application code, and pass it to the proxy by setting the CustomSymbol or CustomNativeSymbol property.

Inheritance Hierarchy

System.Object (not available in C#)
  EngineObject
    ResourceObject
      Symbol
        CustomSymbolProxy

Platforms

Windows, Linux, Android

CustomSymbolProxy Members

The CustomSymbolProxy type has the following members.

Constructors

NameDescription
CustomSymbolProxyInitializes a new instance of the CustomSymbolProxy class.

Properties

NameDescription
ApiGets the API the custom symbol is implemented with.
Static BrickGets the predefined brick fill pattern. Inherited from Symbol
Static BullseyeGets the predefined bullseye symbol. Inherited from Symbol
Static BurstGets the predefined burst symbol. Inherited from Symbol
CacheSizeGets or sets the maximum number of different instances of this symbol that may be cached.
Static CircleGets the predefined circle symbol. Inherited from Symbol
Static CircleCrossGets the predefined circleCross symbol. Inherited from Symbol
Static CircleXGets the predefined circleX symbol. Inherited from Symbol
ClassNameGets the name of the class implementing the custom symbol.
Static CrossGets the predefined cross symbol. Inherited from Symbol
CustomNativeSymbolGets or sets the native custom symbol instance.
CustomSymbolGets or sets the custom symbol instance.
Static DeciduousTreeGets the predefined deciduousTree fill pattern. Inherited from Symbol
Static DiamondGets the predefined diamond symbol. Inherited from Symbol
Static Dots1Gets the predefined dots1 fill pattern. Inherited from Symbol
Static Dots2Gets the predefined dots2 fill pattern. Inherited from Symbol
Static EmptyGets an empty symbol or fill pattern. Inherited from Symbol
Static EvergreenTreeGets the predefined evergreenTree fill pattern. Inherited from Symbol
Static FloodableGets the predefined floodable fill pattern. Inherited from Symbol
Static GlacierGets the predefined glacier fill pattern. Inherited from Symbol
Static GrasslandGets the predefined grassland fill pattern. Inherited from Symbol
Static Grid1Gets the predefined grid1 fill pattern. Inherited from Symbol
Static Grid2Gets the predefined grid2 fill pattern. Inherited from Symbol
Static HollowCircleGets the predefined hollow circle symbol. Inherited from Symbol
Static HollowDiamondGets the predefined hollow diamond symbol. Inherited from Symbol
Static HollowRoundedSquareGets the predefined hollow rounded square symbol. Inherited from Symbol
Static HollowSquareGets the predefined hollow square symbol. Inherited from Symbol
Static HollowTriangleGets the predefined hollow triangle symbol. Inherited from Symbol
IsDisposedGets a value that tells whether the current CustomSymbolProxy has been disposed. Inherited from EngineObject
LibraryNameGets the name of the library containing the custom symbol.
Static MangroveGets the predefined mangrove fill pattern. Inherited from Symbol
Static MixedTreeGets the predefined mixedTree fill pattern. Inherited from Symbol
NameGets or sets the name of the CustomSymbolProxy. Inherited from ResourceObject
NativeHandleGets the native Carmenta Engine kernel object the current CustomSymbolProxy represents. Inherited from EngineObject
Static NorthArrowGets a predefined north arrow symbol: an arrowhead without an N label. Inherited from Symbol
Static NorthArrowNGets a predefined north arrow symbol: an arrowhead with an N label. Inherited from Symbol
Static OrchardPlantationGets the predefined orchard/plantation fill pattern. Inherited from Symbol
Static RiceGets the predefined rice fill pattern. Inherited from Symbol
Static RoundedSquareGets the predefined rounded square symbol. Inherited from Symbol
Static SandGets the predefined sand fill pattern. Inherited from Symbol
Static SandAndGravelGets the predefined sandAndGravel fill pattern. Inherited from Symbol
Static ScrubThicketGets the predefined scrub/thicket fill pattern. Inherited from Symbol
Static SmallDotGets the predefined small dot symbol. Inherited from Symbol
Static SmallPlusGets the predefined small plus symbol. Inherited from Symbol
Static SolidGets the predefined solid fill pattern. Inherited from Symbol
Static SquareGets the predefined square symbol. Inherited from Symbol
Static StarGets the predefined star symbol. Inherited from Symbol
Static Stripes1Gets the predefined stripes1 fill pattern. Inherited from Symbol
Static Stripes10Gets the predefined stripes10 fill pattern. Inherited from Symbol
Static Stripes11Gets the predefined stripes11 fill pattern. Inherited from Symbol
Static Stripes12Gets the predefined stripes12 fill pattern. Inherited from Symbol
Static Stripes2Gets the predefined stripes2 fill pattern. Inherited from Symbol
Static Stripes3Gets the predefined stripes3 fill pattern. Inherited from Symbol
Static Stripes4Gets the predefined stripes4 fill pattern. Inherited from Symbol
Static Stripes5Gets the predefined stripes5 fill pattern. Inherited from Symbol
Static Stripes6Gets the predefined stripes6 fill pattern. Inherited from Symbol
Static Stripes7Gets the predefined stripes7 fill pattern. Inherited from Symbol
Static Stripes8Gets the predefined stripes8 fill pattern. Inherited from Symbol
Static Stripes9Gets the predefined stripes9 fill pattern. Inherited from Symbol
Static SwampGets the predefined swamp fill pattern. Inherited from Symbol
Static TriangleGets the predefined triangle symbol. Inherited from Symbol
IUserProperties.UserPropertiesGets the AttributeSet that contains the user properties. Inherited from IUserProperties
Static VineyardHopsGets the predefined vineyard/hops fill pattern. Inherited from Symbol
Static XGets the predefined x symbol. Inherited from Symbol

Methods

NameDescription
CloneCreates a copy of an object. Inherited from EngineObject
DisposeReleases the reference to the native Carmenta Engine kernel instance the EngineObject represents. Inherited from EngineObject
EqualsDetermines whether this instance is equal to another. Inherited from EngineObject
FlushCacheFlushes all cached symbols.

By accessing the information on this site you accept our terms and conditions and privacy policy.
This site uses cookies to enhance your experience and provide additional functionality.

Accept