[]
        
(Showing Draft Content)

C1.iOS.Core.C1VectorIcon

C1VectorIcon Class

Represents an icon created from a vector definition.

Inheritance
C1VectorIcon
Implements
Namespace: C1.iOS.Core
Assembly: C1.iOS.Core.dll
Syntax
public abstract class C1VectorIcon : C1Icon, IDependencyObject

Constructors

Name Description
C1VectorIcon()

Initializes a new instance of the C1VectorIcon class.

C1VectorIcon(IntPtr)

Initializes a new instance of the C1VectorIcon class.

Fields

Name Description
StrokeColorProperty
StrokeThicknessProperty
ViewBoxProperty

Properties

Name Description
StrokeColor

Gets or sets the color of the stroke.

StrokeThickness

The stroke thickness

ViewBox

Gets or sets the rectangle (in the path coordinates) which will determine what part will be drawn.

Methods

Name Description
CreateGeometry()

This method is called to create the geometry of the shape.

FinalizeUI()

Finalizes the user interface.

GetIntrinsicIconSize()

Gets the intrinsic size of the icon.

InitializeUI()

Initializes the UI.

LayoutSublayersOfLayer(CALayer)
OnColorChanged(UIColor, UIColor)

Called when the ColorProperty is updated.

UpdateGeometry()

This will recreate the geometry and update the path.