#Kimono Designer Mac API Documentation
####Version 01.01.00
##Table of Contents
##Summary
Kimono Designer allows a developer to graphically edit Skia based graphic objects that can be converted to code and included in any cross-platform language and OS that SkiaSharp supports.
##Remarks
Kimono Designer and the KimonoCore libraries were created by Microsoft, Inc. and released under the MIT License.
Kimono Designer
Copyright (c) Microsoft Corporation
All rights reserved.
MIT License
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
#Namespaces
##AppKit.TextKit.Formatter
##KimonoMac
###Summary
The main namespace for the MacOS version of the Kimono Designer Interface.
##KimonoMac.KimonoTextView
###Summary
Provides a special type of NSTextView
that includes a TextChanged
event to monitor when the contents of the Text View has changed.
##KimonoMac.SourceListItem
###Summary
Contains a given item in a Source List.
##KimonoMac.SourceListView
###Summary
Provides set of helper classes making it easier to work with source lists in a Xamarin.Mac application.
##MarkdownSharp
Type Summary Markdown Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML).
MarkdownOptions The public MarkdownOptions
class inherits from the System.Object
class and is defined in the MarkdownSharp
namespace. It defines 6 fields, 6 properties, 13 methods and no events.
#Types
##Public Class AboutViewController
###Namespace
KimonoMac
###Inherits From
AppKit.NSViewController
###Summary
Handles the About Box for Kimono Designer.
Methods Summary AboutViewController
Public Void AboutViewController (System.IntPtr)
Initializes a new instance of the AboutViewController class.
Parameter Summary handle
System.IntPtr handle
Handle.
ReleaseDesignerOutlets
Private Void ReleaseDesignerOutlets ()
The private ReleaseDesignerOutlets ()
member of the AboutViewController
class.
ShowIcons8License
Private Void ShowIcons8License (Foundation.NSObject)
Shows the icons8 license.
Parameter Summary sender
Foundation.NSObject sender
Sender.
##Public Class ActivatableItem
###Namespace
KimonoMac
###Inherits From
AppKit.NSToolbarItem
###Summary
A type of NSToolbarItem
that the developer can enable/disable by adjusting the Active
property.
Properties Summary Active
Public System.Boolean
Active
Gets or sets a value indicating whether this ActivatableItem is active.
true
if active; otherwise, false
.
Methods Summary ActivatableItem
Public Void ActivatableItem ()
Initializes a new instance of the ActivatableItem class.
ActivatableItem
Public Void ActivatableItem (Foundation.NSObjectFlag)
Initializes a new instance of the ActivatableItem class.
Parameter Summary t
Foundation.NSObjectFlag t
T.
ActivatableItem
Public Void ActivatableItem (System.IntPtr)
Initializes a new instance of the ActivatableItem class.
Parameter Summary handle
System.IntPtr handle
Handle.
ActivatableItem
Public Void ActivatableItem (System.String)
Initializes a new instance of the ActivatableItem class.
Parameter Summary title
System.String title
Title.
Validate
Public Virtual Void Validate ()
Validate this instance.
##Public Class AppDelegate
###Namespace
KimonoMac
###Inherits From
AppKit.NSApplicationDelegate
###Summary
App delegate.
Properties Summary NewWindowNumber
Public System.Int32
NewWindowNumber
Gets or sets the number of the next new editor window created.
The new window number.
Preferences
Gets or sets the preferences for the app.
The AppPreferences for the app.
Methods Summary AppDelegate
Public Void AppDelegate ()
Initializes a new instance of the AppDelegate class.
DidFinishLaunching
Public Virtual Void DidFinishLaunching (Foundation.NSNotification)
Did finish launching.
Parameter Summary notification
Foundation.NSNotification notification
Notification.
WillTerminate
Public Virtual Void WillTerminate (Foundation.NSNotification)
Will terminate.
Parameter Summary notification
Foundation.NSNotification notification
Notification.
##Public Class AppPreferences
###Namespace
KimonoMac
###Inherits From
Foundation.NSObject
###Summary
This class handles all of the user's preferences for the app. The values are persisted using the system-wide NSUserDefaults.StandardUserDefaults
object.
Properties Summary AllowAutoComplete
Public System.Boolean
AllowAutoComplete
Gets or sets a value indicating whether the document editor window allows for auto complete.
true
if allow auto complete; otherwise, false
.
AllowBackgroundColor
Public System.Boolean
AllowBackgroundColor
Gets or sets a value indicating whether the document editor allows for the background color of the text to be changed.
true
if allow background color; otherwise, false
.
AllowGraphics
Public System.Boolean
AllowGraphics
Gets or sets a value indicating whether the document editor allows the insertion of pictures into the document text.
true
if allow graphics; otherwise, false
.
AllowImageEditing
Public System.Boolean
AllowImageEditing
Gets or sets a value indicating whether the document editor allows the user to edit images inserted into the document's text.
true
if allow image editing; otherwise, false
.
AutoCompleteDefaultWords
Public System.Boolean
AutoCompleteDefaultWords
Gets or sets a value indicating whether the document editor will add the default, OS provided auto complete words.
true
if auto complete default words; otherwise, false
.
AutoCompleteKeywords
Public System.Boolean
AutoCompleteKeywords
Gets or sets a value indicating whether the document window will auto complete Keywords
as defined in the document's LanguageDescriptor .
true
if auto complete keywords; otherwise, false
.
AutoCorrect
Public System.Boolean
AutoCorrect
Gets or sets a value indicating whether the document editor will automatically correct spelling while editing text.
true
if auto correct; otherwise, false
.
CompleteClosures
Public System.Boolean
CompleteClosures
Gets or sets a value indicating whether the document editor will automatically completeLanguageClosure as defined in the LanguageDescriptor .
true
if complete closures; otherwise, false
.
DataDetectors
Public System.Boolean
DataDetectors
Gets or sets a value indicating whether the document editor will automatically detect data entered by the user shuch as phone numbers and dates.
true
if data detectors; otherwise, false
.
DefaultLanguage
Public System.Int32
DefaultLanguage
Gets or sets the default language that will be automatically selected when creating a new document.
The default LanguageDescriptor .
DefaultWordsOnlyIfKeywordsEmpty
Public System.Boolean
DefaultWordsOnlyIfKeywordsEmpty
Gets or sets a value indicating whether the document editor will only use the default, OS provided auto complete keywords in the editor's LanguageDescriptor return no Keywords
.
true
if default words only if keywords empty; otherwise, false
.
EditorBackgroundColor
Public AppKit.NSColor
EditorBackgroundColor
Gets or sets the color of the editor background of the document editor.
The NSColor
of the editor background.
GrammarChecking
Public System.Boolean
GrammarChecking
Gets or sets a value indicating whether the document editor will check grammar while editing text.
true
if grammar checking; otherwise, false
.
IncrementalSearch
Public System.Boolean
IncrementalSearch
Gets or sets a value indicating whether the document editor allows for incremental search.
true
if incremental search; otherwise, false
.
LivePreviewChanges
Public System.Boolean
LivePreviewChanges
Gets or sets a value indicating whether the Preview Window live updates as the user types.
true
if live preview changes; otherwise, false
.
NonContinousLayout
Public System.Boolean
NonContinousLayout
Gets or sets a value indicating whether the document editor allows for non-continous layout of the text it is editing.
true
if non continous layout; otherwise, false
.
OnlyRomanChars
Public System.Boolean
OnlyRomanChars
Gets or sets a value indicating whether the document editor only allows for Roman characters in the text.
true
if only roman chars; otherwise, false
.
RichText
Public System.Boolean
RichText
Gets or sets a value indicating whether the document editor will allow for rich text documents.
true
if rich text; otherwise, false
.
SearchType
Public System.Int32
SearchType
Gets or sets the type of the search the document editor uses
The type of the search.
SelectAfterWrap
Public System.Boolean
SelectAfterWrap
Gets or sets a value indicating whether the document editor will select all of the text that was just wrapped in a LanguageClosure .
true
if select after wrap; otherwise, false
.
SmartDashes
Public System.Boolean
SmartDashes
Gets or sets a value indicating whether document editor will automatically insert dashes while editing text.
true
if smart dashes; otherwise, false
.
SmartInsertDelete
Public System.Boolean
SmartInsertDelete
Gets or sets a value indicating whether the document editor will use smart insert and delete logic while editing text.
true
if smart insert delete; otherwise, false
.
SmartLinks
Public System.Boolean
SmartLinks
Gets or sets a value indicating whether the document editor will automatically detect links in the text.
true
if smart links; otherwise, false
.
SmartQuotes
Public System.Boolean
SmartQuotes
Gets or sets a value indicating whether the document editor will use typographic quotation marks when editing text.
true
if smart quotes; otherwise, false
.
SpellChecking
Public System.Boolean
SpellChecking
Gets or sets a value indicating whether the document editor will check spelling while editing text.
true
if spell checking; otherwise, false
.
TextReplacement
Public System.Boolean
TextReplacement
Gets or sets a value indicating whether the document editor will automatically perform know text replacement while editing text.
true
if text replacement; otherwise, false
.
UseFontPanel
Public System.Boolean
UseFontPanel
Gets or sets a value indicating whether the document editor uses font panel.
true
if use font panel; otherwise, false
.
UseInspectorBar
Public System.Boolean
UseInspectorBar
Gets or sets a value indicating whether the document editor uses inspector bar.
true
if use inspector bar; otherwise, false
.
UseRuler
Public System.Boolean
UseRuler
Gets or sets a value indicating whether the document editor uses ruler.
true
if use ruler; otherwise, false
.
WrapClosures
Public System.Boolean
WrapClosures
Gets or sets a value indicating whether the editor will wrap LanguageClosure around the selected text in the document editor.
true
if wrap closures; otherwise, false
.
Methods Summary AppPreferences
Public Void AppPreferences ()
Initializes a new instance of the AppPreferences class.
LoadBool
Public System.Boolean
LoadBool (System.String, System.Boolean)
Loads the bool value from the system-wide user defaults.
Parameter Summary key
System.String key
The key to load the value for.
defaultValue
System.Boolean defaultValue
The default value if not found.
The value of the key or the default value if not found.
LoadColor
Public AppKit.NSColor
LoadColor (System.String, AppKit.NSColor)
Loads the requested color from system-wide user defaults.
Parameter Summary key
System.String key
The user default key for the color.
defaultValue
AppKit.NSColor defaultValue
The default NSColor
value.
The NSColor
for the given key or the default value if the key cannot be found in the user defaults.
LoadInt
Public System.Int32
LoadInt (System.String, System.Int32)
Loads the given integer value for the specified key. If the key is not found, the default value is returned.
Parameter Summary key
System.String key
Key.
defaultValue
System.Int32 defaultValue
Default value.
The int.
NSColorFromHexString
Public AppKit.NSColor
NSColorFromHexString (System.String)
Converts a web formatted hex string in the form #RRGGBB or #RRGGBBAA into a color.
Parameter Summary hexValue
System.String hexValue
The web formatted hex string in the form #RRGGBB or #RRGGBBAA.
The NSColor
represented by the hex string.
NSColorToHexString
Public System.String
NSColorToHexString (AppKit.NSColor, System.Boolean)
Converts the given color into a web style hex string in the form #RRBBGG or optionally #RRBBGGAA.
Parameter Summary color
AppKit.NSColor color
The NSColor
to convert.
withAlpha
System.Boolean withAlpha
If set to true
with the alpha (transparency) of the color will be included.
The web hex string representing the given color.
SaveBool
Public Void SaveBool (System.String, System.Boolean, System.Boolean)
Saves the bool value to the system-wide user defaults.
Parameter Summary key
System.String key
The key to save the value to.
value
System.Boolean value
The value to save.
sync
System.Boolean sync
If set to true
sync.
SaveColor
Public Void SaveColor (System.String, AppKit.NSColor, System.Boolean)
Saves the given color to the systwm-wide user defaults with the give keyword.
Parameter Summary color
AppKit.NSColor color
The NSColor
to save to the user defaults.
key
System.String key
The user default key to assign the color to.
sync
System.Boolean sync
If set to true
sync changes to preferences.
SaveInt
Public Void SaveInt (System.String, System.Int32, System.Boolean)
Saves the given integer value to the system-wide user defaults.
Parameter Summary key
System.String key
The key for the integer to load.
value
System.Int32 value
The value of the key.
sync
System.Boolean sync
If set to true
sync changes to preferences.
###Remarks
This section uses Data Binding and Key-Value Coding to bind preference values to UI Controls on the Storyboard. For more information see: http://developer.xamarin.com/guides/mac/application_fundamentals/databinding/
##Public Class CenteringClipView
###Namespace
KimonoMac
###Inherits From
AppKit.NSClipView
###Summary
Centering clip view.
Methods Summary CenteringClipView
Public Void CenteringClipView ()
Initializes a new instance of the CenteringClipView class.
CenteringClipView
Public Void CenteringClipView (System.IntPtr)
Initializes a new instance of the CenteringClipView class.
Parameter Summary handle
System.IntPtr handle
Handle.
ConstrainBoundsRect
Public Virtual CoreGraphics.CGRect
ConstrainBoundsRect (CoreGraphics.CGRect)
Constrains the bounds rect.
Parameter Summary proposedBounds
CoreGraphics.CGRect proposedBounds
Proposed bounds.
The bounds rect.
ConvertContentInsetsToProposedBoundsSize
Private AppKit.NSEdgeInsets
ConvertContentInsetsToProposedBoundsSize (CoreGraphics.CGSize)
Converts the size of the content insets to proposed bounds.
Parameter Summary proposedBoundsSize
CoreGraphics.CGSize proposedBoundsSize
Proposed bounds size.
The content insets to proposed bounds size.
###Remarks
Adapted from this blog post: http://phoenixtoews.net/blog/2016/3/25/centering-a-resizable-content-view-within-a-nsscrollview-with-swift-22-and-xcode-73
##ClickedDelegate
###Namespace
KimonoMac.SourceListItem
###Summary
Clicked delegate.
##Public Class CSharpDescriptor
###Namespace
AppKit.TextKit.Formatter
###Inherits From
AppKit.TextKit.Formatter.LanguageDescriptor
###Summary
Defines how C# should be colorized using a LanguageFormatter .
Properties Summary LanguageIdentifier
Public Virtual Read Only System.String
LanguageIdentifier
Gets the language identifier.
The language identifier.
LanguageSeparators
Public Virtual System.Char[]
LanguageSeparators
Gets or sets the language separators for C#
The language separators.
Methods Summary CSharpDescriptor
Public Void CSharpDescriptor ()
Initializes a new instance of the CSharpDescriptor class.
Define
Public Virtual Void Define ()
Define this instance.
FormatForPreview
Public Virtual System.String
FormatForPreview (System.String)
Formats the passed in string of text for previewing.
Parameter Summary text
System.String text
Text.
The string formatted for preview.
##Public Class FormatDescriptor
###Namespace
AppKit.TextKit.Formatter
###Inherits From
Foundation.NSObject
###Summary
The FormatDescriptor defines a language formmating instruction that can be used by a LanguageDescriptor to define syntax highlighting to a LanguageFormatter .
Properties Summary Active
Public System.Boolean
Active
Gets or sets if this format has been "activated" (if the matching StartsWith
character sequence has been found).
true
if the matching StartsWith
character sequence has been found; otherwise, false
.
Remarks
This value should ONLY be changed by the LanguageFormatter .
CharIndex
Public System.Int32
CharIndex
Gets or sets the index of the last matching character within either the StartsWith
or EndsWith
based on the state of the Active
property.
The index of the char.
Remarks
This value should ONLY be changed by the LanguageFormatter .
Color
Public AppKit.NSColor
Color
Gets or sets the forground color that text matching this format will be set to.
The NSColor
.
EndsWith
Public System.String
EndsWith
Gets or sets the character sequence that text matching this format ends with.
The ending string
sequence.
Remarks
This value will be an empty string ("") if the Type
is a Prefix
format.
StartsWith
Public System.String
StartsWith
Gets or sets the character sequence that this format starts with.
The starting string
sequence.
Triggered
Public Read Only System.Boolean
Triggered
Gets a value indicating whether this FormatDescriptor is "triggered" (all of the StartsWith
or EndsWith
characters have been found based on the Active
property).
true
if triggered; otherwise, false
.
Type
Gets or sets the FormatDescriptorType
for this format descriptor.
The FormatDescriptorType
.
Methods Summary FormatDescriptor
Public Void FormatDescriptor (System.String, AppKit.NSColor)
Initializes a new instance of the FormatDescriptor class.
Parameter Summary startsWith
System.String startsWith
The starting character sequence for this format.
color
AppKit.NSColor color
The NSColor
that text in this sequence will be set too.
Remarks
The type
will automatically be set to Prefix
.
FormatDescriptor
Public Void FormatDescriptor (System.String, System.String, AppKit.NSColor)
Initializes a new instance of the FormatDescriptor class.
Parameter Summary startsWith
System.String startsWith
The starting character sequence for this format.
endsWith
System.String endsWith
The ending character sequence for this format.
color
AppKit.NSColor color
The NSColor
that text in this sequence will be set too.
Remarks
The type
will automatically be set to Enclosure
.
MatchesCharacter
Public System.Boolean
MatchesCharacter (System.Char)
Tests to see if the passed in character matches the character at CharIndex
of either the StartsWith
or EndsWith
character sequence based on the state of the Active
property.
Parameter Summary c
System.Char c
The character being tested.
true
, if character was matched, false
otherwise.
##Public Enum FormatDescriptorType
###Namespace
AppKit.TextKit.Formatter
###Inherits From
System.Enum
###Summary
Defines the type of a FormatDescriptor .
##Public Class HTMLDescriptor
###Namespace
AppKit.TextKit.Formatter
###Inherits From
AppKit.TextKit.Formatter.LanguageDescriptor
###Summary
Defines how HTML should be colorized using a LanguageFormatter .
Properties Summary LanguageIdentifier
Public Virtual Read Only System.String
LanguageIdentifier
Gets the language identifier.
The language identifier.
LanguageSeparators
Public Virtual System.Char[]
LanguageSeparators
Gets or sets the language separators for HTML.
The language separators.
Methods Summary Define
Public Virtual Void Define ()
Define this instance.
HTMLDescriptor
Public Void HTMLDescriptor ()
Initializes a new instance of the HTMLDescriptor class.
###Remarks
This is a simplified, sample format provided as an example only. The HighlightSyntaxRegion
method of the LanguageFormatter would need to be modified to properly format HTML Keywords as the current version was designed for languages like C#, JavaScript or Visual Basic.
##Public Enum InspectorViewMode
###Namespace
KimonoMac
###Inherits From
System.Enum
###Summary
Used to set the current inspectors type being shown in the inspector sidebar.
##ItemSelectedDelegate
###Namespace
KimonoMac.SourceListView
###Summary
Item selected delegate.
##Public Class KeywordDescriptor
###Namespace
AppKit.TextKit.Formatter
###Inherits From
System.Object
###Summary
The KeywordDescriptor class defines a keyword that will be set to a specific color when used with a LanguageFormatter to do syntax highlighting in a NSTextView
.
Properties Summary Color
Public AppKit.NSColor
Color
Gets or sets the NSColor
that the LanguageFormatter will set this keyword to.
The NSColor
.
Tooltip
Public System.String
Tooltip
Gets or sets the tooltip used to define this keyword.
The tooltip.
Type
Gets or sets the KeywordType
.
The type.
Methods Summary KeywordDescriptor
Public Void KeywordDescriptor ()
Initializes a new instance of the KeywordDescriptor class.
KeywordDescriptor
Public Void KeywordDescriptor (AppKit.TextKit.Formatter.KeywordType, AppKit.NSColor, System.String)
Initializes a new instance of the KeywordDescriptor class.
Parameter Summary type
AppKit.TextKit.Formatter.KeywordType type
Specifies the KeywordType
.
color
AppKit.NSColor color
Specifies the NSColor
that this keyword will be set to.
toolTip
System.String toolTip
Defines the tool tip for this keyword.
##Public Enum KeywordType
###Namespace
AppKit.TextKit.Formatter
###Inherits From
System.Enum
###Summary
Defines the type of a KeywordDescriptor .
##Public Class KimonoInspectorArrow
###Namespace
KimonoMac
###Inherits From
AppKit.NSView
###Summary
Handles the inspector view for a KimonoShapeArrow
.
Fields Summary _selectedShape
Private KimonoCore.KimonoShapeArrow
_selectedShape
The selected shape.
ShapeModified
Private KimonoCore.Kimono.PortfolioEventDelegate
ShapeModified
The private ShapeModified
field of the KimonoInspectorArrow
class holds a KimonoCore.Kimono.PortfolioEventDelegate
value.
Properties Summary DesignSurface
Public KimonoCore.Mac.KimonoDesignSurface
DesignSurface
Gets or sets the design surface.
The design surface.
HeadCheckbox
Private Read Only AppKit.NSButton
HeadCheckbox
The private read only HeadCheckbox
property of the KimonoInspectorArrow
class has a AppKit.NSButton
value.
InnerSlider
Private Read Only AppKit.NSSlider
InnerSlider
The private read only InnerSlider
property of the KimonoInspectorArrow
class has a AppKit.NSSlider
value.
InnerValue
Private Read Only AppKit.NSTextField
InnerValue
The private read only InnerValue
property of the KimonoInspectorArrow
class has a AppKit.NSTextField
value.
OuterSlider
Private Read Only AppKit.NSSlider
OuterSlider
The private read only OuterSlider
property of the KimonoInspectorArrow
class has a AppKit.NSSlider
value.
OuterValue
Private Read Only AppKit.NSTextField
OuterValue
The private read only OuterValue
property of the KimonoInspectorArrow
class has a AppKit.NSTextField
value.
SelectedShape
Public KimonoCore.KimonoShapeArrow
SelectedShape
Gets or sets the selected shape.
The selected shape.
StreamlinedCheckbox
Private Read Only AppKit.NSButton
StreamlinedCheckbox
The private read only StreamlinedCheckbox
property of the KimonoInspectorArrow
class has a AppKit.NSButton
value.
TailCheckbox
Private Read Only AppKit.NSButton
TailCheckbox
The private read only TailCheckbox
property of the KimonoInspectorArrow
class has a AppKit.NSButton
value.
Methods Summary HeadChanged
Private Void HeadChanged (Foundation.NSObject)
Handles the has head value changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Initialize
Public Void Initialize ()
Initialize this instance.
InnerChanged
Private Void InnerChanged (Foundation.NSObject)
Handles the inner value changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
KimonoInspectorArrow
Public Void KimonoInspectorArrow (System.IntPtr)
Initializes a new instance of the KimonoInspectorArrow class.
Parameter Summary handle
System.IntPtr handle
Handle.
MoveTo
Public System.nfloat
MoveTo (System.nfloat)
Moves the inspector to the give location.
Parameter Summary y
System.nfloat y
The y coordinate.
The next location based on the inspector's size.
OuterChanged
Private Void OuterChanged (Foundation.NSObject)
Handles the outer value changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
RaiseShapeModified
Void RaiseShapeModified ()
Raises the shape modified event.
ReleaseDesignerOutlets
Private Void ReleaseDesignerOutlets ()
The private ReleaseDesignerOutlets ()
member of the KimonoInspectorArrow
class.
StreamlinedChanged
Private Void StreamlinedChanged (Foundation.NSObject)
Handles the streamline value changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
TailChanged
Private Void TailChanged (Foundation.NSObject)
Handles the has tail value changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
UpdateInspector
Public Void UpdateInspector ()
Updates the inspector.
Events Summary ShapeModified
KimonoCore.Kimono.PortfolioEventDelegate
ShapeModified
Occurs when shape modified.
##Public Class KimonoInspectorAttachedStyle
###Namespace
KimonoMac
###Inherits From
AppKit.NSView
###Summary
Displays the inspector for a KimonoStyle
attached to a KimonoShape
.
Fields Summary _selectedShape
Private KimonoCore.KimonoShape
_selectedShape
The selected shape.
_selectedStyle
Private KimonoCore.KimonoStyle
_selectedStyle
The selected style.
ConvertToStyle
Private KimonoCore.Kimono.PortfolioEventDelegate
ConvertToStyle
The private ConvertToStyle
field of the KimonoInspectorAttachedStyle
class holds a KimonoCore.Kimono.PortfolioEventDelegate
value.
EditAttachedStyle
Private KimonoCore.Kimono.StyleEventDelegate
EditAttachedStyle
The private EditAttachedStyle
field of the KimonoInspectorAttachedStyle
class holds a KimonoCore.Kimono.StyleEventDelegate
value.
RemoveStyle
Private KimonoCore.Kimono.StyleEventDelegate
RemoveStyle
The private RemoveStyle
field of the KimonoInspectorAttachedStyle
class holds a KimonoCore.Kimono.StyleEventDelegate
value.
ShapeModified
Private KimonoCore.Kimono.ShapeEventDelegate
ShapeModified
The private ShapeModified
field of the KimonoInspectorAttachedStyle
class holds a KimonoCore.Kimono.ShapeEventDelegate
value.
StyleModified
Private KimonoCore.Kimono.PortfolioEventDelegate
StyleModified
The private StyleModified
field of the KimonoInspectorAttachedStyle
class holds a KimonoCore.Kimono.PortfolioEventDelegate
value.
Properties Summary DesignSurface
Public KimonoCore.Mac.KimonoDesignSurface
DesignSurface
Gets or sets the design surface.
The design surface.
EditButton
Private Read Only AppKit.NSButton
EditButton
The private read only EditButton
property of the KimonoInspectorAttachedStyle
class has a AppKit.NSButton
value.
Portfolio
Public Read Only KimonoCore.KimonoPortfolio
Portfolio
Gets the portfolio.
The portfolio.
SelectedShape
Public KimonoCore.KimonoShape
SelectedShape
Gets or sets the selected shape.
The selected shape.
SelectedStyle
Public KimonoCore.KimonoStyle
SelectedStyle
Gets or sets the selected style.
The selected style.
StyleSelector
Private Read Only AppKit.NSPopUpButton
StyleSelector
The private read only StyleSelector
property of the KimonoInspectorAttachedStyle
class has a AppKit.NSPopUpButton
value.
Methods Summary EditStyle
Private Void EditStyle (Foundation.NSObject)
Calls the editor for the given style.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Initialize
Public Void Initialize ()
Initialize this instance.
KimonoInspectorAttachedStyle
Public Void KimonoInspectorAttachedStyle (System.IntPtr)
Initializes a new instance of the KimonoInspectorAttachedStyle class.
Parameter Summary handle
System.IntPtr handle
Handle.
MoveTo
Public System.nfloat
MoveTo (System.nfloat)
Moves the inspector to the given location
Parameter Summary y
System.nfloat y
The y coordinate.
The next location based on the size of the inspector.
RaiseConvertToStyle
Void RaiseConvertToStyle ()
Raises the convert to style event.
RaiseEditAttachedStyle
Void RaiseEditAttachedStyle (KimonoCore.KimonoStyle)
Raises the edit attached style event.
Parameter Summary style
KimonoCore.KimonoStyle style
Style.
RaiseRemoveStyle
Void RaiseRemoveStyle (KimonoCore.KimonoStyle)
Raises the remove style event.
Parameter Summary style
KimonoCore.KimonoStyle style
Style.
RaiseShapeModified
Void RaiseShapeModified (KimonoCore.KimonoShape)
Raises the shape modified event.
Parameter Summary shape
KimonoCore.KimonoShape shape
Shape.
RaiseStyleModified
Void RaiseStyleModified ()
Raises the style modified event.
ReleaseDesignerOutlets
Private Void ReleaseDesignerOutlets ()
The private ReleaseDesignerOutlets ()
member of the KimonoInspectorAttachedStyle
class.
StyleChanged
Private Void StyleChanged (Foundation.NSObject)
Hnadles the style changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
UpdateInspector
Public Void UpdateInspector ()
Updates the inspector.
Events Summary ConvertToStyle
KimonoCore.Kimono.PortfolioEventDelegate
ConvertToStyle
Occurs when convert to style.
EditAttachedStyle
KimonoCore.Kimono.StyleEventDelegate
EditAttachedStyle
Occurs when edit attached style.
RemoveStyle
KimonoCore.Kimono.StyleEventDelegate
RemoveStyle
Occurs when remove style.
ShapeModified
KimonoCore.Kimono.ShapeEventDelegate
ShapeModified
Occurs when shape modified.
StyleModified
KimonoCore.Kimono.PortfolioEventDelegate
StyleModified
Occurs when style modified.
##Public Class KimonoInspectorFill
###Namespace
KimonoMac
###Inherits From
AppKit.NSView
###Summary
Handles the inspector view for the Fill properties of a KimonoStyle
.
Fields Summary _selectedStyle
Private KimonoCore.KimonoStyle
_selectedStyle
The selected style.
MakeNewColor
Private KimonoCore.Kimono.SkiaColorEventDelegate
MakeNewColor
The private MakeNewColor
field of the KimonoInspectorFill
class holds a KimonoCore.Kimono.SkiaColorEventDelegate
value.
ShapeModified
Private KimonoCore.Kimono.PortfolioEventDelegate
ShapeModified
The private ShapeModified
field of the KimonoInspectorFill
class holds a KimonoCore.Kimono.PortfolioEventDelegate
value.
Properties Summary AddColorButton
Private Read Only AppKit.NSButton
AddColorButton
The private read only AddColorButton
property of the KimonoInspectorFill
class has a AppKit.NSButton
value.
AntialiaseCheckbox
Private Read Only AppKit.NSButton
AntialiaseCheckbox
The private read only AntialiaseCheckbox
property of the KimonoInspectorFill
class has a AppKit.NSButton
value.
BlendMode
Private Read Only AppKit.NSPopUpButton
BlendMode
The private read only BlendMode
property of the KimonoInspectorFill
class has a AppKit.NSPopUpButton
value.
BlurCheckbox
Private Read Only AppKit.NSButton
BlurCheckbox
The private read only BlurCheckbox
property of the KimonoInspectorFill
class has a AppKit.NSButton
value.
DesignSurface
Public KimonoCore.Mac.KimonoDesignSurface
DesignSurface
Gets or sets the design surface.
The design surface.
DeviationSlider
Private Read Only AppKit.NSSlider
DeviationSlider
The private read only DeviationSlider
property of the KimonoInspectorFill
class has a AppKit.NSSlider
value.
DeviationValue
Private Read Only AppKit.NSTextField
DeviationValue
The private read only DeviationValue
property of the KimonoInspectorFill
class has a AppKit.NSTextField
value.
FillCheckbox
Private Read Only AppKit.NSButton
FillCheckbox
The private read only FillCheckbox
property of the KimonoInspectorFill
class has a AppKit.NSButton
value.
FillColor
Private Read Only AppKit.NSColorWell
FillColor
The private read only FillColor
property of the KimonoInspectorFill
class has a AppKit.NSColorWell
value.
GradientDropdown
Private Read Only AppKit.NSPopUpButton
GradientDropdown
The private read only GradientDropdown
property of the KimonoInspectorFill
class has a AppKit.NSPopUpButton
value.
HorizontalBlurSlider
Private Read Only AppKit.NSSlider
HorizontalBlurSlider
The private read only HorizontalBlurSlider
property of the KimonoInspectorFill
class has a AppKit.NSSlider
value.
HorizontalBlurValue
Private Read Only AppKit.NSTextField
HorizontalBlurValue
The private read only HorizontalBlurValue
property of the KimonoInspectorFill
class has a AppKit.NSTextField
value.
HorizontalShadowBlurSlider
Private Read Only AppKit.NSSlider
HorizontalShadowBlurSlider
The private read only HorizontalShadowBlurSlider
property of the KimonoInspectorFill
class has a AppKit.NSSlider
value.
HorizontalShadowBlurValue
Private Read Only AppKit.NSTextField
HorizontalShadowBlurValue
The private read only HorizontalShadowBlurValue
property of the KimonoInspectorFill
class has a AppKit.NSTextField
value.
HorizontalShadowOffsetSlider
Private Read Only AppKit.NSSlider
HorizontalShadowOffsetSlider
The private read only HorizontalShadowOffsetSlider
property of the KimonoInspectorFill
class has a AppKit.NSSlider
value.
HorizontalShadowOffsetValue
Private Read Only AppKit.NSTextField
HorizontalShadowOffsetValue
The private read only HorizontalShadowOffsetValue
property of the KimonoInspectorFill
class has a AppKit.NSTextField
value.
JitterCheckbox
Private Read Only AppKit.NSButton
JitterCheckbox
The private read only JitterCheckbox
property of the KimonoInspectorFill
class has a AppKit.NSButton
value.
LengthSlider
Private Read Only AppKit.NSSlider
LengthSlider
The private read only LengthSlider
property of the KimonoInspectorFill
class has a AppKit.NSSlider
value.
LengthValue
Private Read Only AppKit.NSTextField
LengthValue
The private read only LengthValue
property of the KimonoInspectorFill
class has a AppKit.NSTextField
value.
LinkedColorSelector
Private Read Only AppKit.NSPopUpButton
LinkedColorSelector
The private read only LinkedColorSelector
property of the KimonoInspectorFill
class has a AppKit.NSPopUpButton
value.
LinkedShadowColor
Private Read Only AppKit.NSPopUpButton
LinkedShadowColor
The private read only LinkedShadowColor
property of the KimonoInspectorFill
class has a AppKit.NSPopUpButton
value.
OpacitySlider
Private Read Only AppKit.NSSlider
OpacitySlider
The private read only OpacitySlider
property of the KimonoInspectorFill
class has a AppKit.NSSlider
value.
OpacityValue
Private Read Only AppKit.NSTextField
OpacityValue
The private read only OpacityValue
property of the KimonoInspectorFill
class has a AppKit.NSTextField
value.
Portfolio
Public Read Only KimonoCore.KimonoPortfolio
Portfolio
Gets the portfolio.
The portfolio.
SelectedStyle
Public KimonoCore.KimonoStyle
SelectedStyle
Gets or sets the selected style.
The selected style.
ShadowCheckbox
Private Read Only AppKit.NSButton
ShadowCheckbox
The private read only ShadowCheckbox
property of the KimonoInspectorFill
class has a AppKit.NSButton
value.
ShadowColor
Private Read Only AppKit.NSColorWell
ShadowColor
The private read only ShadowColor
property of the KimonoInspectorFill
class has a AppKit.NSColorWell
value.
ShadowOpacitySlider
Private Read Only AppKit.NSSlider
ShadowOpacitySlider
The private read only ShadowOpacitySlider
property of the KimonoInspectorFill
class has a AppKit.NSSlider
value.
ShadowOpacityValue
Private Read Only AppKit.NSTextField
ShadowOpacityValue
The private read only ShadowOpacityValue
property of the KimonoInspectorFill
class has a AppKit.NSTextField
value.
VerticalBlurSlider
Private Read Only AppKit.NSSlider
VerticalBlurSlider
The private read only VerticalBlurSlider
property of the KimonoInspectorFill
class has a AppKit.NSSlider
value.
VerticalBlurValue
Private Read Only AppKit.NSTextField
VerticalBlurValue
The private read only VerticalBlurValue
property of the KimonoInspectorFill
class has a AppKit.NSTextField
value.
VerticalShadowBlurSlider
Private Read Only AppKit.NSSlider
VerticalShadowBlurSlider
The private read only VerticalShadowBlurSlider
property of the KimonoInspectorFill
class has a AppKit.NSSlider
value.
VerticalShadowBlurValue
Private Read Only AppKit.NSTextField
VerticalShadowBlurValue
The private read only VerticalShadowBlurValue
property of the KimonoInspectorFill
class has a AppKit.NSTextField
value.
VerticalShadowOffsetSlider
Private Read Only AppKit.NSSlider
VerticalShadowOffsetSlider
The private read only VerticalShadowOffsetSlider
property of the KimonoInspectorFill
class has a AppKit.NSSlider
value.
VerticalShadowOffsetValue
Private Read Only AppKit.NSTextField
VerticalShadowOffsetValue
The private read only VerticalShadowOffsetValue
property of the KimonoInspectorFill
class has a AppKit.NSTextField
value.
Methods Summary AddColor
Private Void AddColor (Foundation.NSObject)
Adds the color.
Parameter Summary sender
Foundation.NSObject sender
Sender.
AntialiaseChanged
Private Void AntialiaseChanged (Foundation.NSObject)
Handles the antialias value changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
BlendModeChanged
Private Void BlendModeChanged (Foundation.NSObject)
Handles the blend mode changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
BlurChanged
Private Void BlurChanged (Foundation.NSObject)
Handles the blur effect changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
DeviationChanged
Private Void DeviationChanged (Foundation.NSObject)
Handles the jitter deviation changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
FillChanged
Private Void FillChanged (Foundation.NSObject)
Handles the fill changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
FillColorChanged
Private Void FillColorChanged (Foundation.NSObject)
Handles the fill color changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
GradientChanged
Private Void GradientChanged (Foundation.NSObject)
Handles the KimonoGradient
changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
HorizontalBlurChanged
Private Void HorizontalBlurChanged (Foundation.NSObject)
Handles the horizontal blur amount changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
HorizontalShadowBlurChanged
Private Void HorizontalShadowBlurChanged (Foundation.NSObject)
Handles the horizontal shadow blur changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
HorizontalShadowOffsetChanged
Private Void HorizontalShadowOffsetChanged (Foundation.NSObject)
Handles the horizontal shadow offset changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Initialize
Public Void Initialize ()
Initialize this instance.
JitterChanged
Private Void JitterChanged (Foundation.NSObject)
Handles the jitter effect changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
KimonoInspectorFill
Public Void KimonoInspectorFill (System.IntPtr)
Initializes a new instance of the KimonoInspectorFill class.
Parameter Summary handle
System.IntPtr handle
Handle.
LengthChanged
Private Void LengthChanged (Foundation.NSObject)
Handles the jitter length changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
LinkedColorChanged
Private Void LinkedColorChanged (Foundation.NSObject)
Handles the linked KimonoColor
changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
LinkedShadowColorChanged
Private Void LinkedShadowColorChanged (Foundation.NSObject)
Handles the linked shadow color changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
MoveTo
Public System.nfloat
MoveTo (System.nfloat)
Moves the inspector to the given location
Parameter Summary y
System.nfloat y
The y coordinate.
The next location based on the inspector's size.
OpacityChanged
Private Void OpacityChanged (Foundation.NSObject)
Handles the opacity value changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
RaiseMakeNewColor
Void RaiseMakeNewColor (SkiaSharp.SKColor)
Raises the color of the make new event.
Parameter Summary color
SkiaSharp.SKColor color
Color.
RaiseShapeModified
Void RaiseShapeModified ()
Raises the shape modified event.
ReleaseDesignerOutlets
Private Void ReleaseDesignerOutlets ()
The private ReleaseDesignerOutlets ()
member of the KimonoInspectorFill
class.
ShadowChanged
Private Void ShadowChanged (Foundation.NSObject)
Handles the shadow changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
ShadowColorChanged
Private Void ShadowColorChanged (Foundation.NSObject)
Handles the shadow color chainging.
Parameter Summary sender
Foundation.NSObject sender
Sender.
ShadowOpacityChanged
Private Void ShadowOpacityChanged (Foundation.NSObject)
Handles the shadow's opacity changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
ShowCurrentColor
Private Void ShowCurrentColor ()
Shows the values for the current color selected.
ShowCurrentShadowColor
Private Void ShowCurrentShadowColor ()
Shows the color of the current shadow.
UpdateInspector
Public Void UpdateInspector ()
Updates the inspector.
VerticalBlurChanged
Private Void VerticalBlurChanged (Foundation.NSObject)
Handles the vertical blur amount changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
VerticalShadowBlurChanged
Private Void VerticalShadowBlurChanged (Foundation.NSObject)
Handles the vertical shadow blur changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
VerticalShadowOffsetChanged
Private Void VerticalShadowOffsetChanged (Foundation.NSObject)
Handles the vertical shadow offset changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Events Summary MakeNewColor
KimonoCore.Kimono.SkiaColorEventDelegate
MakeNewColor
Occurs when make new color.
ShapeModified
KimonoCore.Kimono.PortfolioEventDelegate
ShapeModified
Occurs when shape modified.
##Public Class KimonoInspectorFont
###Namespace
KimonoMac
###Inherits From
AppKit.NSView
###Summary
Handles the inspector view for the Font section of a KimonoStyle
.
Fields Summary _selectedShape
Private KimonoCore.KimonoShape
_selectedShape
The selected shape.
_selectedStyle
Private KimonoCore.KimonoStyle
_selectedStyle
The selected style.
ShapeModified
Private KimonoCore.Kimono.PortfolioEventDelegate
ShapeModified
The private ShapeModified
field of the KimonoInspectorFont
class holds a KimonoCore.Kimono.PortfolioEventDelegate
value.
StyleModified
Private KimonoCore.Kimono.PortfolioEventDelegate
StyleModified
The private StyleModified
field of the KimonoInspectorFont
class holds a KimonoCore.Kimono.PortfolioEventDelegate
value.
Properties Summary Alignment
Private Read Only AppKit.NSSegmentedControl
Alignment
The private read only Alignment
property of the KimonoInspectorFont
class has a AppKit.NSSegmentedControl
value.
DesignSurface
Public KimonoCore.Mac.KimonoDesignSurface
DesignSurface
Gets or sets the design surface.
The design surface.
ScaleSlider
Private Read Only AppKit.NSSlider
ScaleSlider
The private read only ScaleSlider
property of the KimonoInspectorFont
class has a AppKit.NSSlider
value.
ScaleValue
Private Read Only AppKit.NSTextField
ScaleValue
The private read only ScaleValue
property of the KimonoInspectorFont
class has a AppKit.NSTextField
value.
SelectedShape
Public KimonoCore.KimonoShape
SelectedShape
Gets or sets the selected shape.
The selected shape.
SelectedStyle
Public KimonoCore.KimonoStyle
SelectedStyle
Gets or sets the selected style.
The selected style.
Size
Private Read Only AppKit.NSComboBox
Size
The private read only Size
property of the KimonoInspectorFont
class has a AppKit.NSComboBox
value.
SkewSlider
Private Read Only AppKit.NSSlider
SkewSlider
The private read only SkewSlider
property of the KimonoInspectorFont
class has a AppKit.NSSlider
value.
SkewValue
Private Read Only AppKit.NSTextField
SkewValue
The private read only SkewValue
property of the KimonoInspectorFont
class has a AppKit.NSTextField
value.
StrikeThruCheckbox
Private Read Only AppKit.NSButton
StrikeThruCheckbox
The private read only StrikeThruCheckbox
property of the KimonoInspectorFont
class has a AppKit.NSButton
value.
TypefaceDropdown
Private Read Only AppKit.NSPopUpButton
TypefaceDropdown
The private read only TypefaceDropdown
property of the KimonoInspectorFont
class has a AppKit.NSPopUpButton
value.
UnderlineCheckbox
Private Read Only AppKit.NSButton
UnderlineCheckbox
The private read only UnderlineCheckbox
property of the KimonoInspectorFont
class has a AppKit.NSButton
value.
VerticalCheckbox
Private Read Only AppKit.NSButton
VerticalCheckbox
The private read only VerticalCheckbox
property of the KimonoInspectorFont
class has a AppKit.NSButton
value.
WeightDropdown
Private Read Only AppKit.NSPopUpButton
WeightDropdown
The private read only WeightDropdown
property of the KimonoInspectorFont
class has a AppKit.NSPopUpButton
value.
Methods Summary AlignmentChanged
Private Void AlignmentChanged (Foundation.NSObject)
Handles the alignmen changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Initialize
Public Void Initialize ()
Initialize this instance.
KimonoInspectorFont
Public Void KimonoInspectorFont (System.IntPtr)
Initializes a new instance of the KimonoInspectorFont class.
Parameter Summary handle
System.IntPtr handle
Handle.
MoveTo
Public System.nfloat
MoveTo (System.nfloat)
Moves the inspector to the given location.
Parameter Summary y
System.nfloat y
The y coordinate.
The next location based on the inspector's size.
RaiseShapeModified
Void RaiseShapeModified ()
Raises the shape modified event.
RaiseStyleModified
Void RaiseStyleModified ()
Raises the style modified event.
ReleaseDesignerOutlets
Private Void ReleaseDesignerOutlets ()
The private ReleaseDesignerOutlets ()
member of the KimonoInspectorFont
class.
ScaleChanged
Private Void ScaleChanged (Foundation.NSObject)
Handles the scale changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
SelectFontFamily
Private Void SelectFontFamily (System.String)
Selects the font family.
Parameter Summary family
System.String family
Family.
SizeChanged
Private Void SizeChanged (Foundation.NSObject)
Handles the size changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
SkewChanged
Private Void SkewChanged (Foundation.NSObject)
Handles the skew changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
StrikeThruChanged
Private Void StrikeThruChanged (Foundation.NSObject)
Handles the strikethru changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
TypefaceChanged
Private Void TypefaceChanged (Foundation.NSObject)
Handles the typeface changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
UnderlineChanged
Private Void UnderlineChanged (Foundation.NSObject)
Handles the underline changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
UpdateInspector
Public Void UpdateInspector ()
Updates the inspector.
VerticalChanged
Private Void VerticalChanged (Foundation.NSObject)
Handles the vertical text changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
WeightChanged
Private Void WeightChanged (Foundation.NSObject)
Handles the font weight changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Events Summary ShapeModified
KimonoCore.Kimono.PortfolioEventDelegate
ShapeModified
Occurs when shape modified.
StyleModified
KimonoCore.Kimono.PortfolioEventDelegate
StyleModified
Occurs when style modified.
##Public Class KimonoInspectorFrame
###Namespace
KimonoMac
###Inherits From
AppKit.NSView
###Summary
Handles the inspector view for the Frame section of a KimonoStyle
.
Fields Summary _selectedStyle
Private KimonoCore.KimonoStyle
_selectedStyle
The selected style.
MakeNewColor
Private KimonoCore.Kimono.SkiaColorEventDelegate
MakeNewColor
The private MakeNewColor
field of the KimonoInspectorFrame
class holds a KimonoCore.Kimono.SkiaColorEventDelegate
value.
ShapeModified
Private KimonoCore.Kimono.PortfolioEventDelegate
ShapeModified
The private ShapeModified
field of the KimonoInspectorFrame
class holds a KimonoCore.Kimono.PortfolioEventDelegate
value.
Properties Summary AddColorButton
Private Read Only AppKit.NSButton
AddColorButton
The private read only AddColorButton
property of the KimonoInspectorFrame
class has a AppKit.NSButton
value.
AntialiasCheckbox
Private Read Only AppKit.NSButton
AntialiasCheckbox
The private read only AntialiasCheckbox
property of the KimonoInspectorFrame
class has a AppKit.NSButton
value.
BlendMode
Private Read Only AppKit.NSPopUpButton
BlendMode
The private read only BlendMode
property of the KimonoInspectorFrame
class has a AppKit.NSPopUpButton
value.
BlurCheckbox
Private Read Only AppKit.NSButton
BlurCheckbox
The private read only BlurCheckbox
property of the KimonoInspectorFrame
class has a AppKit.NSButton
value.
Dash1
Private Read Only AppKit.NSButton
Dash1
The private read only Dash1
property of the KimonoInspectorFrame
class has a AppKit.NSButton
value.
Dash10
Private Read Only AppKit.NSButton
Dash10
The private read only Dash10
property of the KimonoInspectorFrame
class has a AppKit.NSButton
value.
Dash11
Private Read Only AppKit.NSButton
Dash11
The private read only Dash11
property of the KimonoInspectorFrame
class has a AppKit.NSButton
value.
Dash12
Private Read Only AppKit.NSButton
Dash12
The private read only Dash12
property of the KimonoInspectorFrame
class has a AppKit.NSButton
value.
Dash13
Private Read Only AppKit.NSButton
Dash13
The private read only Dash13
property of the KimonoInspectorFrame
class has a AppKit.NSButton
value.
Dash14
Private Read Only AppKit.NSButton
Dash14
The private read only Dash14
property of the KimonoInspectorFrame
class has a AppKit.NSButton
value.
Dash15
Private Read Only AppKit.NSButton
Dash15
The private read only Dash15
property of the KimonoInspectorFrame
class has a AppKit.NSButton
value.
Dash16
Private Read Only AppKit.NSButton
Dash16
The private read only Dash16
property of the KimonoInspectorFrame
class has a AppKit.NSButton
value.
Dash2
Private Read Only AppKit.NSButton
Dash2
The private read only Dash2
property of the KimonoInspectorFrame
class has a AppKit.NSButton
value.
Dash3
Private Read Only AppKit.NSButton
Dash3
The private read only Dash3
property of the KimonoInspectorFrame
class has a AppKit.NSButton
value.
Dash4
Private Read Only AppKit.NSButton
Dash4
The private read only Dash4
property of the KimonoInspectorFrame
class has a AppKit.NSButton
value.
Dash5
Private Read Only AppKit.NSButton
Dash5
The private read only Dash5
property of the KimonoInspectorFrame
class has a AppKit.NSButton
value.
Dash6
Private Read Only AppKit.NSButton
Dash6
The private read only Dash6
property of the KimonoInspectorFrame
class has a AppKit.NSButton
value.
Dash7
Private Read Only AppKit.NSButton
Dash7
The private read only Dash7
property of the KimonoInspectorFrame
class has a AppKit.NSButton
value.
Dash8
Private Read Only AppKit.NSButton
Dash8
The private read only Dash8
property of the KimonoInspectorFrame
class has a AppKit.NSButton
value.
Dash9
Private Read Only AppKit.NSButton
Dash9
The private read only Dash9
property of the KimonoInspectorFrame
class has a AppKit.NSButton
value.
DashCheckbox
Private Read Only AppKit.NSButton
DashCheckbox
The private read only DashCheckbox
property of the KimonoInspectorFrame
class has a AppKit.NSButton
value.
DesignSurface
Public KimonoCore.Mac.KimonoDesignSurface
DesignSurface
Gets or sets the design surface.
The design surface.
DeviationSlider
Private Read Only AppKit.NSSlider
DeviationSlider
The private read only DeviationSlider
property of the KimonoInspectorFrame
class has a AppKit.NSSlider
value.
DeviationValue
Private Read Only AppKit.NSTextField
DeviationValue
The private read only DeviationValue
property of the KimonoInspectorFrame
class has a AppKit.NSTextField
value.
EndCap
Private Read Only AppKit.NSPopUpButton
EndCap
The private read only EndCap
property of the KimonoInspectorFrame
class has a AppKit.NSPopUpButton
value.
FrameCheckbox
Private Read Only AppKit.NSButton
FrameCheckbox
The private read only FrameCheckbox
property of the KimonoInspectorFrame
class has a AppKit.NSButton
value.
FrameColor
Private Read Only AppKit.NSColorWell
FrameColor
The private read only FrameColor
property of the KimonoInspectorFrame
class has a AppKit.NSColorWell
value.
GradientDropdown
Private Read Only AppKit.NSPopUpButton
GradientDropdown
The private read only GradientDropdown
property of the KimonoInspectorFrame
class has a AppKit.NSPopUpButton
value.
HorizontalBlurSlider
Private Read Only AppKit.NSSlider
HorizontalBlurSlider
The private read only HorizontalBlurSlider
property of the KimonoInspectorFrame
class has a AppKit.NSSlider
value.
HorizontalBlurValue
Private Read Only AppKit.NSTextField
HorizontalBlurValue
The private read only HorizontalBlurValue
property of the KimonoInspectorFrame
class has a AppKit.NSTextField
value.
HorizontalShadowBlurSlider
Private Read Only AppKit.NSSlider
HorizontalShadowBlurSlider
The private read only HorizontalShadowBlurSlider
property of the KimonoInspectorFrame
class has a AppKit.NSSlider
value.
HorizontalShadowBlurValue
Private Read Only AppKit.NSTextField
HorizontalShadowBlurValue
The private read only HorizontalShadowBlurValue
property of the KimonoInspectorFrame
class has a AppKit.NSTextField
value.
HorizontalShadowOffsetSlider
Private Read Only AppKit.NSSlider
HorizontalShadowOffsetSlider
The private read only HorizontalShadowOffsetSlider
property of the KimonoInspectorFrame
class has a AppKit.NSSlider
value.
HorizontalShadowOffsetValue
Private Read Only AppKit.NSTextField
HorizontalShadowOffsetValue
The private read only HorizontalShadowOffsetValue
property of the KimonoInspectorFrame
class has a AppKit.NSTextField
value.
JitterCheckbox
Private Read Only AppKit.NSButton
JitterCheckbox
The private read only JitterCheckbox
property of the KimonoInspectorFrame
class has a AppKit.NSButton
value.
JoinType
Private Read Only AppKit.NSPopUpButton
JoinType
The private read only JoinType
property of the KimonoInspectorFrame
class has a AppKit.NSPopUpButton
value.
LengthSlider
Private Read Only AppKit.NSSlider
LengthSlider
The private read only LengthSlider
property of the KimonoInspectorFrame
class has a AppKit.NSSlider
value.
LengthValue
Private Read Only AppKit.NSTextField
LengthValue
The private read only LengthValue
property of the KimonoInspectorFrame
class has a AppKit.NSTextField
value.
LinkedColorSelector
Private Read Only AppKit.NSPopUpButton
LinkedColorSelector
The private read only LinkedColorSelector
property of the KimonoInspectorFrame
class has a AppKit.NSPopUpButton
value.
LinkedShadowColor
Private Read Only AppKit.NSPopUpButton
LinkedShadowColor
The private read only LinkedShadowColor
property of the KimonoInspectorFrame
class has a AppKit.NSPopUpButton
value.
MiterSlider
Private Read Only AppKit.NSSlider
MiterSlider
The private read only MiterSlider
property of the KimonoInspectorFrame
class has a AppKit.NSSlider
value.
MiterValue
Private Read Only AppKit.NSTextField
MiterValue
The private read only MiterValue
property of the KimonoInspectorFrame
class has a AppKit.NSTextField
value.
OpacitySlider
Private Read Only AppKit.NSSlider
OpacitySlider
The private read only OpacitySlider
property of the KimonoInspectorFrame
class has a AppKit.NSSlider
value.
OpacityValue
Private Read Only AppKit.NSTextField
OpacityValue
The private read only OpacityValue
property of the KimonoInspectorFrame
class has a AppKit.NSTextField
value.
Portfolio
Public Read Only KimonoCore.KimonoPortfolio
Portfolio
Gets the portfolio.
The portfolio.
SelectedStyle
Public KimonoCore.KimonoStyle
SelectedStyle
Gets or sets the selected style.
The selected style.
ShadowCheckbox
Private Read Only AppKit.NSButton
ShadowCheckbox
The private read only ShadowCheckbox
property of the KimonoInspectorFrame
class has a AppKit.NSButton
value.
ShadowColor
Private Read Only AppKit.NSColorWell
ShadowColor
The private read only ShadowColor
property of the KimonoInspectorFrame
class has a AppKit.NSColorWell
value.
ShadowOpacitySlider
Private Read Only AppKit.NSSlider
ShadowOpacitySlider
The private read only ShadowOpacitySlider
property of the KimonoInspectorFrame
class has a AppKit.NSSlider
value.
ShadowOpacityValue
Private Read Only AppKit.NSTextField
ShadowOpacityValue
The private read only ShadowOpacityValue
property of the KimonoInspectorFrame
class has a AppKit.NSTextField
value.
VerticalBlurSlider
Private Read Only AppKit.NSSlider
VerticalBlurSlider
The private read only VerticalBlurSlider
property of the KimonoInspectorFrame
class has a AppKit.NSSlider
value.
VerticalBlurValue
Private Read Only AppKit.NSTextField
VerticalBlurValue
The private read only VerticalBlurValue
property of the KimonoInspectorFrame
class has a AppKit.NSTextField
value.
VerticalShadowBlurSlider
Private Read Only AppKit.NSSlider
VerticalShadowBlurSlider
The private read only VerticalShadowBlurSlider
property of the KimonoInspectorFrame
class has a AppKit.NSSlider
value.
VerticalShadowBlurValue
Private Read Only AppKit.NSTextField
VerticalShadowBlurValue
The private read only VerticalShadowBlurValue
property of the KimonoInspectorFrame
class has a AppKit.NSTextField
value.
VerticalShadowOffsetSlider
Private Read Only AppKit.NSSlider
VerticalShadowOffsetSlider
The private read only VerticalShadowOffsetSlider
property of the KimonoInspectorFrame
class has a AppKit.NSSlider
value.
VerticalShadowOffsetValue
Private Read Only AppKit.NSTextField
VerticalShadowOffsetValue
The private read only VerticalShadowOffsetValue
property of the KimonoInspectorFrame
class has a AppKit.NSTextField
value.
WidthSlider
Private Read Only AppKit.NSSlider
WidthSlider
The private read only WidthSlider
property of the KimonoInspectorFrame
class has a AppKit.NSSlider
value.
WidthValue
Private Read Only AppKit.NSTextField
WidthValue
The private read only WidthValue
property of the KimonoInspectorFrame
class has a AppKit.NSTextField
value.
Methods Summary AddColor
Private Void AddColor (Foundation.NSObject)
Adds the color.
Parameter Summary sender
Foundation.NSObject sender
Sender.
AntialiasChanged
Private Void AntialiasChanged (Foundation.NSObject)
Handles the antialias changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
BlendModeChanged
Private Void BlendModeChanged (Foundation.NSObject)
Handles the blend mode changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
BlurChanged
Private Void BlurChanged (Foundation.NSObject)
Handles the blur effect changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Dash10Changed
Private Void Dash10Changed (Foundation.NSObject)
Handles a dash point changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Dash11Changed
Private Void Dash11Changed (Foundation.NSObject)
Handles a dash point changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Dash12Changed
Private Void Dash12Changed (Foundation.NSObject)
Handles a dash point changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Dash13Changed
Private Void Dash13Changed (Foundation.NSObject)
Handles a dash point changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Dash14Changed
Private Void Dash14Changed (Foundation.NSObject)
Handles a dash point changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Dash15Changed
Private Void Dash15Changed (Foundation.NSObject)
Handles a dash point changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Dash16Changed
Private Void Dash16Changed (Foundation.NSObject)
Handles a dash point changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Dash1Changed
Private Void Dash1Changed (Foundation.NSObject)
Handles a dash point changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Dash2Changed
Private Void Dash2Changed (Foundation.NSObject)
Handles a dash point changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Dash3Changed
Private Void Dash3Changed (Foundation.NSObject)
Handles a dash point changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Dash4Changed
Private Void Dash4Changed (Foundation.NSObject)
Handles a dash point changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Dash5Changed
Private Void Dash5Changed (Foundation.NSObject)
Handles a dash point changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Dash6Changed
Private Void Dash6Changed (Foundation.NSObject)
Handles a dash point changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Dash7Changed
Private Void Dash7Changed (Foundation.NSObject)
Handles a dash point changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Dash8Changed
Private Void Dash8Changed (Foundation.NSObject)
Handles a dash point changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Dash9Changed
Private Void Dash9Changed (Foundation.NSObject)
Handles a dash point changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
DashChanged
Private Void DashChanged (Foundation.NSObject)
Handles a dash point changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
DeviationChanged
Private Void DeviationChanged (Foundation.NSObject)
Handles the jitter deviation changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
EndCapChanged
Private Void EndCapChanged (Foundation.NSObject)
Handles the end cap chainging.
Parameter Summary sender
Foundation.NSObject sender
Sender.
FrameChanged
Private Void FrameChanged (Foundation.NSObject)
Handles the frame changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
FrameColorChanged
Private Void FrameColorChanged (Foundation.NSObject)
Handles the frame color changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
GradientChanged
Private Void GradientChanged (Foundation.NSObject)
Handles the gradient changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
HorizontalBlurChanged
Private Void HorizontalBlurChanged (Foundation.NSObject)
Handles the horizontal blur amount changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
HorizontalShadowBlurChanged
Private Void HorizontalShadowBlurChanged (Foundation.NSObject)
Handles the horizontal shadow blur changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
HorizontalShadowOffsetChanged
Private Void HorizontalShadowOffsetChanged (Foundation.NSObject)
Handles the horizontal shadow offset changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Initialize
Public Void Initialize ()
Initialize this instance.
JitterChanged
Private Void JitterChanged (Foundation.NSObject)
Handles the jitter effect changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
JoinTypeChanged
Private Void JoinTypeChanged (Foundation.NSObject)
Handles the join type changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
KimonoInspectorFrame
Public Void KimonoInspectorFrame (System.IntPtr)
Initializes a new instance of the KimonoInspectorFrame class.
Parameter Summary handle
System.IntPtr handle
Handle.
LengthChanged
Private Void LengthChanged (Foundation.NSObject)
Handles the jitter lenght changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
LinkedColorChanged
Private Void LinkedColorChanged (Foundation.NSObject)
Handles the linked color changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
LinkedShadowColorChanged
Private Void LinkedShadowColorChanged (Foundation.NSObject)
Handles the linked shadow color changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
MiterChanged
Private Void MiterChanged (Foundation.NSObject)
Handles the Miter changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
MoveTo
Public System.nfloat
MoveTo (System.nfloat)
Moves the inspector to the give location.
Parameter Summary y
System.nfloat y
The y coordinate.
The next location based on the inspector's size.
OpacityChanged
Private Void OpacityChanged (Foundation.NSObject)
Handles the opacity changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
RaiseMakeNewColor
Void RaiseMakeNewColor (SkiaSharp.SKColor)
Raises the color of the make new event.
Parameter Summary color
SkiaSharp.SKColor color
Color.
RaiseShapeModified
Void RaiseShapeModified ()
Raises the shape modified event.
ReleaseDesignerOutlets
Private Void ReleaseDesignerOutlets ()
The private ReleaseDesignerOutlets ()
member of the KimonoInspectorFrame
class.
ShadowChanged
Private Void ShadowChanged (Foundation.NSObject)
Handles the shadow changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
ShadowColorChanged
Private Void ShadowColorChanged (Foundation.NSObject)
Handles the shadow color chainging.
Parameter Summary sender
Foundation.NSObject sender
Sender.
ShadowOpacityChanged
Private Void ShadowOpacityChanged (Foundation.NSObject)
Handles the shadow's opacity changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
ShowCurrentColor
Private Void ShowCurrentColor ()
Shows the color of the current.
ShowCurrentShadowColor
Private Void ShowCurrentShadowColor ()
Shows the color of the current shadow.
ShowDashEditor
Private Void ShowDashEditor ()
Shows the dash editor.
UpdateInspector
Public Void UpdateInspector ()
Updates the inspector.
VerticalBlurChanged
Private Void VerticalBlurChanged (Foundation.NSObject)
Handles the vertical blur amount changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
VerticalShadowBlurChanged
Private Void VerticalShadowBlurChanged (Foundation.NSObject)
Handles the vertical shadow blur changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
VerticalShadowOffsetChanged
Private Void VerticalShadowOffsetChanged (Foundation.NSObject)
Handles the vertical shadow offset changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
WidthChanged
Private Void WidthChanged (Foundation.NSObject)
Handles the width changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Events Summary MakeNewColor
KimonoCore.Kimono.SkiaColorEventDelegate
MakeNewColor
Occurs when make new color.
ShapeModified
KimonoCore.Kimono.PortfolioEventDelegate
ShapeModified
Occurs when shape modified.
##Public Class KimonoInspectorGeneralInfo
###Namespace
KimonoMac
###Inherits From
AppKit.NSView
###Summary
Handles the general KimonoShape
inspector view.
Fields Summary _selectedShape
Private KimonoCore.KimonoShape
_selectedShape
The selected shape.
MakeDuplicate
Private KimonoCore.Kimono.PortfolioEventDelegate
MakeDuplicate
The private MakeDuplicate
field of the KimonoInspectorGeneralInfo
class holds a KimonoCore.Kimono.PortfolioEventDelegate
value.
RemoveShape
Private KimonoCore.Kimono.PortfolioEventDelegate
RemoveShape
The private RemoveShape
field of the KimonoInspectorGeneralInfo
class holds a KimonoCore.Kimono.PortfolioEventDelegate
value.
SelectionChanged
Private KimonoCore.Kimono.ShapeEventDelegate
SelectionChanged
The private SelectionChanged
field of the KimonoInspectorGeneralInfo
class holds a KimonoCore.Kimono.ShapeEventDelegate
value.
ShapeModified
Private KimonoCore.Kimono.PortfolioEventDelegate
ShapeModified
The private ShapeModified
field of the KimonoInspectorGeneralInfo
class holds a KimonoCore.Kimono.PortfolioEventDelegate
value.
SketchModified
Private KimonoCore.Kimono.PortfolioEventDelegate
SketchModified
The private SketchModified
field of the KimonoInspectorGeneralInfo
class holds a KimonoCore.Kimono.PortfolioEventDelegate
value.
Properties Summary DesignSurface
Public KimonoCore.Mac.KimonoDesignSurface
DesignSurface
Gets or sets the design surface.
The design surface.
EditButton
Private Read Only AppKit.NSButton
EditButton
The private read only EditButton
property of the KimonoInspectorGeneralInfo
class has a AppKit.NSButton
value.
GroupUngroupButton
Private Read Only AppKit.NSButton
GroupUngroupButton
The private read only GroupUngroupButton
property of the KimonoInspectorGeneralInfo
class has a AppKit.NSButton
value.
RotationSlider
Private Read Only AppKit.NSSlider
RotationSlider
The private read only RotationSlider
property of the KimonoInspectorGeneralInfo
class has a AppKit.NSSlider
value.
RotationValue
Private Read Only AppKit.NSTextField
RotationValue
The private read only RotationValue
property of the KimonoInspectorGeneralInfo
class has a AppKit.NSTextField
value.
SelectedShape
Public KimonoCore.KimonoShape
SelectedShape
Gets or sets the selected shape.
The selected shape.
ShapeHeight
Private Read Only AppKit.NSTextField
ShapeHeight
The private read only ShapeHeight
property of the KimonoInspectorGeneralInfo
class has a AppKit.NSTextField
value.
ShapeName
Private Read Only AppKit.NSTextField
ShapeName
The private read only ShapeName
property of the KimonoInspectorGeneralInfo
class has a AppKit.NSTextField
value.
ShapeType
Private Read Only AppKit.NSTextField
ShapeType
The private read only ShapeType
property of the KimonoInspectorGeneralInfo
class has a AppKit.NSTextField
value.
ShapeWidth
Private Read Only AppKit.NSTextField
ShapeWidth
The private read only ShapeWidth
property of the KimonoInspectorGeneralInfo
class has a AppKit.NSTextField
value.
ShapeX
Private Read Only AppKit.NSTextField
ShapeX
The private read only ShapeX
property of the KimonoInspectorGeneralInfo
class has a AppKit.NSTextField
value.
ShapeY
Private Read Only AppKit.NSTextField
ShapeY
The private read only ShapeY
property of the KimonoInspectorGeneralInfo
class has a AppKit.NSTextField
value.
VisibleButton
Private Read Only AppKit.NSButton
VisibleButton
The private read only VisibleButton
property of the KimonoInspectorGeneralInfo
class has a AppKit.NSButton
value.
Methods Summary DeleteShape
Private Void DeleteShape (Foundation.NSObject)
Handles the shape being deleted.
Parameter Summary sender
Foundation.NSObject sender
Sender.
DuplicateShape
Private Void DuplicateShape (Foundation.NSObject)
Handles the shape being duplicated.
Parameter Summary sender
Foundation.NSObject sender
Sender.
EditOrFinalizeShape
Private Void EditOrFinalizeShape (Foundation.NSObject)
Edits the or finalize and editable shape such as a KimonoShapeGroup
or KimonoShapeVector
.
Parameter Summary sender
Foundation.NSObject sender
Sender.
GroupUngroupShapes
Private Void GroupUngroupShapes (Foundation.NSObject)
Handles a collection of KimonoShapes
being grouped and ungrouped.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Initialize
Public Void Initialize ()
Initialize this instance.
KimonoInspectorGeneralInfo
Public Void KimonoInspectorGeneralInfo (System.IntPtr)
Initializes a new instance of the KimonoInspectorGeneralInfo class.
Parameter Summary handle
System.IntPtr handle
Handle.
MoveTo
Public System.nfloat
MoveTo (System.nfloat)
Moves the inspector to the given location.
Parameter Summary y
System.nfloat y
The y coordinate.
The next location based on the inspector's size.
RaiseMakeDuplicate
Void RaiseMakeDuplicate ()
Raises the make duplicate event.
RaiseRemoveShape
Raises the remove shape event.
RaiseSelectionChanged
Void RaiseSelectionChanged (KimonoCore.KimonoShape)
Raises the selection changed event.
Parameter Summary selected
KimonoCore.KimonoShape selected
Selected.
RaiseShapeModified
Void RaiseShapeModified ()
Raises the shape modified event.
RaiseSketchModified
Void RaiseSketchModified ()
Raises the sketch modified event.
ReleaseDesignerOutlets
Private Void ReleaseDesignerOutlets ()
The private ReleaseDesignerOutlets ()
member of the KimonoInspectorGeneralInfo
class.
RotationChanged
Private Void RotationChanged (Foundation.NSObject)
Handles the rotation being changed.
Parameter Summary sender
Foundation.NSObject sender
Sender.
UpdateInspector
Public Void UpdateInspector ()
Updates the inspector.
VisibilityChanged
Private Void VisibilityChanged (Foundation.NSObject)
Handles the visibility changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Events Summary MakeDuplicate
KimonoCore.Kimono.PortfolioEventDelegate
MakeDuplicate
Occurs when make duplicate.
RemoveShape
KimonoCore.Kimono.PortfolioEventDelegate
RemoveShape
Occurs when remove shape.
SelectionChanged
KimonoCore.Kimono.ShapeEventDelegate
SelectionChanged
Occurs when selection changed.
ShapeModified
KimonoCore.Kimono.PortfolioEventDelegate
ShapeModified
Occurs when shape modified.
SketchModified
KimonoCore.Kimono.PortfolioEventDelegate
SketchModified
Occurs when sketch modified.
##Public Class KimonoInspectorGradient
###Namespace
KimonoMac
###Inherits From
AppKit.NSView
###Summary
Handles the inspector view for a KimonoGradient
.
Fields Summary _selectedGradient
Private KimonoCore.KimonoGradient
_selectedGradient
The selected gradient.
_selectedShape
Private KimonoCore.KimonoShape
_selectedShape
The selected shape.
GradientModified
Private KimonoCore.Kimono.GradientEventDelegate
GradientModified
The private GradientModified
field of the KimonoInspectorGradient
class holds a KimonoCore.Kimono.GradientEventDelegate
value.
MakeDuplicate
Private KimonoCore.Kimono.GradientEventDelegate
MakeDuplicate
The private MakeDuplicate
field of the KimonoInspectorGradient
class holds a KimonoCore.Kimono.GradientEventDelegate
value.
RemoveGradient
Private KimonoCore.Kimono.GradientEventDelegate
RemoveGradient
The private RemoveGradient
field of the KimonoInspectorGradient
class holds a KimonoCore.Kimono.GradientEventDelegate
value.
ReturnToShape
Private KimonoCore.Kimono.ShapeEventDelegate
ReturnToShape
The private ReturnToShape
field of the KimonoInspectorGradient
class holds a KimonoCore.Kimono.ShapeEventDelegate
value.
ShapeModified
Private KimonoCore.Kimono.PortfolioEventDelegate
ShapeModified
The private ShapeModified
field of the KimonoInspectorGradient
class holds a KimonoCore.Kimono.PortfolioEventDelegate
value.
Properties Summary AddColorButton
Private Read Only AppKit.NSButton
AddColorButton
The private read only AddColorButton
property of the KimonoInspectorGradient
class has a AppKit.NSButton
value.
AddPointButton
Private Read Only AppKit.NSButton
AddPointButton
The private read only AddPointButton
property of the KimonoInspectorGradient
class has a AppKit.NSButton
value.
BackButton
Private Read Only AppKit.NSButton
BackButton
The private read only BackButton
property of the KimonoInspectorGradient
class has a AppKit.NSButton
value.
DeleteButton
Private Read Only AppKit.NSButton
DeleteButton
The private read only DeleteButton
property of the KimonoInspectorGradient
class has a AppKit.NSButton
value.
DeletePointButton
Private Read Only AppKit.NSButton
DeletePointButton
The private read only DeletePointButton
property of the KimonoInspectorGradient
class has a AppKit.NSButton
value.
DesignBar
Private Read Only KimonoCore.Mac.KimonoGradientDesignBar
DesignBar
The private read only DesignBar
property of the KimonoInspectorGradient
class has a KimonoCore.Mac.KimonoGradientDesignBar
value.
DesignPreview
Private Read Only KimonoCore.Mac.KimonoGradientDesignPreview
DesignPreview
The private read only DesignPreview
property of the KimonoInspectorGradient
class has a KimonoCore.Mac.KimonoGradientDesignPreview
value.
DesignSurface
Public KimonoCore.Mac.KimonoDesignSurface
DesignSurface
Gets or sets the design surface.
The design surface.
DuplicateButton
Private Read Only AppKit.NSButton
DuplicateButton
The private read only DuplicateButton
property of the KimonoInspectorGradient
class has a AppKit.NSButton
value.
DuplicatePointButton
Private Read Only AppKit.NSButton
DuplicatePointButton
The private read only DuplicatePointButton
property of the KimonoInspectorGradient
class has a AppKit.NSButton
value.
GradientName
Private Read Only AppKit.NSTextField
GradientName
The private read only GradientName
property of the KimonoInspectorGradient
class has a AppKit.NSTextField
value.
LinkedColorDropdown
Private Read Only AppKit.NSPopUpButton
LinkedColorDropdown
The private read only LinkedColorDropdown
property of the KimonoInspectorGradient
class has a AppKit.NSPopUpButton
value.
OpacitySlider
Private Read Only AppKit.NSSlider
OpacitySlider
The private read only OpacitySlider
property of the KimonoInspectorGradient
class has a AppKit.NSSlider
value.
OpacityValue
Private Read Only AppKit.NSTextField
OpacityValue
The private read only OpacityValue
property of the KimonoInspectorGradient
class has a AppKit.NSTextField
value.
PointColor
Private Read Only AppKit.NSColorWell
PointColor
The private read only PointColor
property of the KimonoInspectorGradient
class has a AppKit.NSColorWell
value.
Portfolio
Public Read Only KimonoCore.KimonoPortfolio
Portfolio
Gets the portfolio.
The portfolio.
RadiusSlider
Private Read Only AppKit.NSSlider
RadiusSlider
The private read only RadiusSlider
property of the KimonoInspectorGradient
class has a AppKit.NSSlider
value.
RadiusValue
Private Read Only AppKit.NSTextField
RadiusValue
The private read only RadiusValue
property of the KimonoInspectorGradient
class has a AppKit.NSTextField
value.
SelectedColorTitle
Private Read Only AppKit.NSTextField
SelectedColorTitle
The private read only SelectedColorTitle
property of the KimonoInspectorGradient
class has a AppKit.NSTextField
value.
SelectedGradient
Public KimonoCore.KimonoGradient
SelectedGradient
Gets or sets the selected gradient.
The selected gradient.
SelectedShape
Public KimonoCore.KimonoShape
SelectedShape
Gets or sets the selected shape.
The selected shape.
TileDropdown
Private Read Only AppKit.NSPopUpButton
TileDropdown
The private read only TileDropdown
property of the KimonoInspectorGradient
class has a AppKit.NSPopUpButton
value.
TypeDropdown
Private Read Only AppKit.NSPopUpButton
TypeDropdown
The private read only TypeDropdown
property of the KimonoInspectorGradient
class has a AppKit.NSPopUpButton
value.
Methods Summary AddColor
Private Void AddColor (Foundation.NSObject)
Adds the color.
Parameter Summary sender
Foundation.NSObject sender
Sender.
AddPoint
Private Void AddPoint (Foundation.NSObject)
Adds the point.
Parameter Summary sender
Foundation.NSObject sender
Sender.
DeleteGradient
Private Void DeleteGradient (Foundation.NSObject)
Deletes the gradient.
Parameter Summary sender
Foundation.NSObject sender
Sender.
DeletePoint
Private Void DeletePoint (Foundation.NSObject)
Deletes the point.
Parameter Summary sender
Foundation.NSObject sender
Sender.
DuplicateGradient
Private Void DuplicateGradient (Foundation.NSObject)
Duplicates the gradient.
Parameter Summary sender
Foundation.NSObject sender
Sender.
DuplicatePoint
Private Void DuplicatePoint (Foundation.NSObject)
Duplicates the point.
Parameter Summary sender
Foundation.NSObject sender
Sender.
GoBack
Private Void GoBack (Foundation.NSObject)
Sends the user back to the selected shape.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Initialize
Public Void Initialize ()
Initialize this instance.
KimonoInspectorGradient
Public Void KimonoInspectorGradient (System.IntPtr)
Initializes a new instance of the KimonoInspectorGradient class.
Parameter Summary handle
System.IntPtr handle
Handle.
LinkedColorChanged
Private Void LinkedColorChanged (Foundation.NSObject)
Handles the linked color changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
MoveTo
Public System.nfloat
MoveTo (System.nfloat)
Moves the inspector to the given location.
Parameter Summary y
System.nfloat y
The y coordinate.
The next location based on the inspector's size.
OpacityChanged
Private Void OpacityChanged (Foundation.NSObject)
Handles the opacity changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
PointColorChanged
Private Void PointColorChanged (Foundation.NSObject)
Handles a point color changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
RadiusChanged
Private Void RadiusChanged (Foundation.NSObject)
Handles the radius changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
RaiseGradientModified
Void RaiseGradientModified (KimonoCore.KimonoGradient)
Raises the gradient modified event.
Parameter Summary gradient
KimonoCore.KimonoGradient gradient
Gradient.
RaiseMakeDuplicate
Void RaiseMakeDuplicate (KimonoCore.KimonoGradient)
Raises the make duplicate event.
Parameter Summary gradient
KimonoCore.KimonoGradient gradient
Gradient.
RaiseRemoveGradient
Void RaiseRemoveGradient (KimonoCore.KimonoGradient)
Raises the remove gradient event.
Parameter Summary gradient
KimonoCore.KimonoGradient gradient
Gradient.
RaiseReturnToShape
Void RaiseReturnToShape (KimonoCore.KimonoShape)
Raises the return to shape event.
Parameter Summary shape
KimonoCore.KimonoShape shape
Shape.
RaiseShapeModified
Void RaiseShapeModified ()
Raises the shape modified event.
ReleaseDesignerOutlets
Private Void ReleaseDesignerOutlets ()
The private ReleaseDesignerOutlets ()
member of the KimonoInspectorGradient
class.
ShowCurrentColor
Private Void ShowCurrentColor ()
Shows current color values.
TileChanged
Private Void TileChanged (Foundation.NSObject)
Handles the tile mode changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
TypeChanged
Private Void TypeChanged (Foundation.NSObject)
Handles the gradient's type changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
UpdateInspector
Public Void UpdateInspector ()
Updates the inspector.
Events Summary GradientModified
KimonoCore.Kimono.GradientEventDelegate
GradientModified
Occurs when gradient modified.
MakeDuplicate
KimonoCore.Kimono.GradientEventDelegate
MakeDuplicate
Occurs when make duplicate.
RemoveGradient
KimonoCore.Kimono.GradientEventDelegate
RemoveGradient
Occurs when remove gradient.
ReturnToShape
KimonoCore.Kimono.ShapeEventDelegate
ReturnToShape
Occurs when return to shape.
ShapeModified
KimonoCore.Kimono.PortfolioEventDelegate
ShapeModified
Occurs when shape modified.
##Public Class KimonoInspectorGroup
###Namespace
KimonoMac
###Inherits From
AppKit.NSView
###Summary
Handles the inspector view for a given KimonoShapeGroup
.
Fields Summary _selectedGroup
Private KimonoCore.KimonoShapeGroup
_selectedGroup
The selected shape.
GroupModified
Private KimonoCore.Kimono.GroupEventDelegate
GroupModified
The private GroupModified
field of the KimonoInspectorGroup
class holds a KimonoCore.Kimono.GroupEventDelegate
value.
Properties Summary BooleanCheckbox
Private Read Only AppKit.NSButton
BooleanCheckbox
The private read only BooleanCheckbox
property of the KimonoInspectorGroup
class has a AppKit.NSButton
value.
DesignSurface
Public KimonoCore.Mac.KimonoDesignSurface
DesignSurface
Gets or sets the design surface.
The design surface.
MaskCheckbox
Private Read Only AppKit.NSButton
MaskCheckbox
The private read only MaskCheckbox
property of the KimonoInspectorGroup
class has a AppKit.NSButton
value.
Operation
Private Read Only AppKit.NSPopUpButton
Operation
The private read only Operation
property of the KimonoInspectorGroup
class has a AppKit.NSPopUpButton
value.
SelectedGroup
Public KimonoCore.KimonoShapeGroup
SelectedGroup
Gets or sets the selected group.
The selected group.
Methods Summary BooleanChanged
Private Void BooleanChanged (Foundation.NSObject)
Handles the boolean operation being changed.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Initialize
Public Void Initialize ()
Initialize this instance.
KimonoInspectorGroup
Public Void KimonoInspectorGroup (System.IntPtr)
The public KimonoInspectorGroup (System.IntPtr)
constructor for the KimonoInspectorGroup
class.
Parameter Summary handle
System.IntPtr handle
The handle
parameter of the KimonoInspectorGroup method takes a System.IntPtr
value.
MaskChanged
Private Void MaskChanged (Foundation.NSObject)
Handles the mask changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
MoveTo
Public System.nfloat
MoveTo (System.nfloat)
Moves the inspector to the given location.
Parameter Summary y
System.nfloat y
The y coordinate.
The next location based on the inspector's size.
OperationChanged
Private Void OperationChanged (Foundation.NSObject)
Handles the boolean operation changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
RaiseGroupModified
Void RaiseGroupModified (KimonoCore.KimonoShapeGroup)
Raises the group modified event.
Parameter Summary group
KimonoCore.KimonoShapeGroup group
The KimonoShapeGroup
that was modified.
ReleaseDesignerOutlets
Private Void ReleaseDesignerOutlets ()
The private ReleaseDesignerOutlets ()
member of the KimonoInspectorGroup
class.
UpdateInspector
Public Void UpdateInspector ()
Updates the inspector.
Events Summary GroupModified
KimonoCore.Kimono.GroupEventDelegate
GroupModified
Occurs when group modified.
##Public Class KimonoInspectorPaleteColor
###Namespace
KimonoMac
###Inherits From
AppKit.NSView
###Summary
Handles the inspector view for a named KimonoColor
that can be attached to otherKimonoShapes
.
Fields Summary _selectedColor
Private KimonoCore.KimonoColor
_selectedColor
The color of the selected.
AvailableBaseColors
Private System.Collections.Generic.List<KimonoCore.KimonoColor>
AvailableBaseColors
The available base colors.
ColorModified
Private KimonoCore.Kimono.ColorEventDelegate
ColorModified
The private ColorModified
field of the KimonoInspectorPaleteColor
class holds a KimonoCore.Kimono.ColorEventDelegate
value.
MakeDuplicate
Private KimonoCore.Kimono.ColorEventDelegate
MakeDuplicate
The private MakeDuplicate
field of the KimonoInspectorPaleteColor
class holds a KimonoCore.Kimono.ColorEventDelegate
value.
RemoveColor
Private KimonoCore.Kimono.ColorEventDelegate
RemoveColor
The private RemoveColor
field of the KimonoInspectorPaleteColor
class holds a KimonoCore.Kimono.ColorEventDelegate
value.
ReturnToShape
Private KimonoCore.Kimono.ShapeEventDelegate
ReturnToShape
The private ReturnToShape
field of the KimonoInspectorPaleteColor
class holds a KimonoCore.Kimono.ShapeEventDelegate
value.
Properties Summary AdjustBrightnessCheckbox
Private Read Only AppKit.NSButton
AdjustBrightnessCheckbox
The private read only AdjustBrightnessCheckbox
property of the KimonoInspectorPaleteColor
class has a AppKit.NSButton
value.
AdjustHueCheckbox
Private Read Only AppKit.NSButton
AdjustHueCheckbox
The private read only AdjustHueCheckbox
property of the KimonoInspectorPaleteColor
class has a AppKit.NSButton
value.
AdjustOpacityCheckbox
Private Read Only AppKit.NSButton
AdjustOpacityCheckbox
The private read only AdjustOpacityCheckbox
property of the KimonoInspectorPaleteColor
class has a AppKit.NSButton
value.
AdjustSaturationCheckbox
Private Read Only AppKit.NSButton
AdjustSaturationCheckbox
The private read only AdjustSaturationCheckbox
property of the KimonoInspectorPaleteColor
class has a AppKit.NSButton
value.
BaseColorSelector
Private Read Only AppKit.NSPopUpButton
BaseColorSelector
The private read only BaseColorSelector
property of the KimonoInspectorPaleteColor
class has a AppKit.NSPopUpButton
value.
BrightnessSlider
Private Read Only AppKit.NSSlider
BrightnessSlider
The private read only BrightnessSlider
property of the KimonoInspectorPaleteColor
class has a AppKit.NSSlider
value.
BrightnessValue
Private Read Only AppKit.NSTextField
BrightnessValue
The private read only BrightnessValue
property of the KimonoInspectorPaleteColor
class has a AppKit.NSTextField
value.
Color
Private Read Only AppKit.NSColorWell
Color
The private read only Color
property of the KimonoInspectorPaleteColor
class has a AppKit.NSColorWell
value.
ColorName
Private Read Only AppKit.NSTextField
ColorName
The private read only ColorName
property of the KimonoInspectorPaleteColor
class has a AppKit.NSTextField
value.
DesignSurface
Public KimonoCore.Mac.KimonoDesignSurface
DesignSurface
Gets or sets the design surface.
The design surface.
GoBackButton
Private Read Only AppKit.NSButton
GoBackButton
The private read only GoBackButton
property of the KimonoInspectorPaleteColor
class has a AppKit.NSButton
value.
HueSlider
Private Read Only AppKit.NSSlider
HueSlider
The private read only HueSlider
property of the KimonoInspectorPaleteColor
class has a AppKit.NSSlider
value.
HueValue
Private Read Only AppKit.NSTextField
HueValue
The private read only HueValue
property of the KimonoInspectorPaleteColor
class has a AppKit.NSTextField
value.
OpacitySlider
Private Read Only AppKit.NSSlider
OpacitySlider
The private read only OpacitySlider
property of the KimonoInspectorPaleteColor
class has a AppKit.NSSlider
value.
OpacityValue
Private Read Only AppKit.NSTextField
OpacityValue
The private read only OpacityValue
property of the KimonoInspectorPaleteColor
class has a AppKit.NSTextField
value.
Portfolio
Public Read Only KimonoCore.KimonoPortfolio
Portfolio
Gets the portfolio.
The portfolio.
SaturationSlider
Private Read Only AppKit.NSSlider
SaturationSlider
The private read only SaturationSlider
property of the KimonoInspectorPaleteColor
class has a AppKit.NSSlider
value.
SaturationValue
Private Read Only AppKit.NSTextField
SaturationValue
The private read only SaturationValue
property of the KimonoInspectorPaleteColor
class has a AppKit.NSTextField
value.
SelectedColor
Public KimonoCore.KimonoColor
SelectedColor
Gets or sets the color of the selected.
The color of the selected.
SelectedShape
Public KimonoCore.KimonoShape
SelectedShape
Gets or sets the selected shape.
The selected shape.
Methods Summary AdjustBrightnessChanged
Private Void AdjustBrightnessChanged (Foundation.NSObject)
Adjusts the brightness changed.
Parameter Summary sender
Foundation.NSObject sender
Sender.
AdjustHueChanged
Private Void AdjustHueChanged (Foundation.NSObject)
Adjusts the hue changed.
Parameter Summary sender
Foundation.NSObject sender
Sender.
AdjustOpacityChanged
Private Void AdjustOpacityChanged (Foundation.NSObject)
Adjusts the opacity changed.
Parameter Summary sender
Foundation.NSObject sender
Sender.
AdjustSaturationChanged
Private Void AdjustSaturationChanged (Foundation.NSObject)
Adjusts the saturation changed.
Parameter Summary sender
Foundation.NSObject sender
Sender.
BaseColorChanged
Private Void BaseColorChanged (Foundation.NSObject)
Handles the base color changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
BrightnessChanged
Private Void BrightnessChanged (Foundation.NSObject)
Handles the brightness chanigng.
Parameter Summary sender
Foundation.NSObject sender
Sender.
ColorChanged
Private Void ColorChanged (Foundation.NSObject)
Handles the color changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
ColorNameChanged
Private Void ColorNameChanged (Foundation.NSObject)
Handles the color name changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
DeleteColor
Private Void DeleteColor (Foundation.NSObject)
Deletes the color.
Parameter Summary sender
Foundation.NSObject sender
Sender.
DisplayCurrentColor
Private Void DisplayCurrentColor ()
Displays the current color
DuplicateColor
Private Void DuplicateColor (Foundation.NSObject)
Duplicates the color.
Parameter Summary sender
Foundation.NSObject sender
Sender.
GoBack
Private Void GoBack (Foundation.NSObject)
Returns the to the selected shape.
Parameter Summary sender
Foundation.NSObject sender
Sender.
HueChanged
Private Void HueChanged (Foundation.NSObject)
Handles the hue changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Initialize
Public Void Initialize ()
Initialize this instance.
KimonoInspectorPaleteColor
Public Void KimonoInspectorPaleteColor (System.IntPtr)
Initializes a new instance of the KimonoInspectorPaleteColor class.
Parameter Summary handle
System.IntPtr handle
Handle.
MoveTo
Public System.nfloat
MoveTo (System.nfloat)
Moves the inspector to the given location.
Parameter Summary y
System.nfloat y
The y coordinate.
The next location based on the inspector's size.
OpacityChanged
Private Void OpacityChanged (Foundation.NSObject)
Handles the opacity changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
RaiseColorModified
Void RaiseColorModified (KimonoCore.KimonoColor)
Raises the color modified event.
Parameter Summary color
KimonoCore.KimonoColor color
Color.
RaiseMakeDuplicate
Void RaiseMakeDuplicate (KimonoCore.KimonoColor)
Raises the make duplicate event.
Parameter Summary color
KimonoCore.KimonoColor color
Color.
RaiseRemoveColor
Void RaiseRemoveColor (KimonoCore.KimonoColor)
Raises the color of the remove event.
Parameter Summary color
KimonoCore.KimonoColor color
Color.
RaiseReturnToShape
Void RaiseReturnToShape (KimonoCore.KimonoShape)
Raises the return to shape event.
Parameter Summary shape
KimonoCore.KimonoShape shape
Shape.
ReleaseDesignerOutlets
Private Void ReleaseDesignerOutlets ()
The private ReleaseDesignerOutlets ()
member of the KimonoInspectorPaleteColor
class.
SaturationChanged
Private Void SaturationChanged (Foundation.NSObject)
Handles the saturation changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
SetColorValues
Private Void SetColorValues ()
Sets the color values.
UpdateInspector
Public Void UpdateInspector ()
Updates the inspector.
Events Summary ColorModified
KimonoCore.Kimono.ColorEventDelegate
ColorModified
Occurs when color modified.
MakeDuplicate
KimonoCore.Kimono.ColorEventDelegate
MakeDuplicate
Occurs when make duplicate.
RemoveColor
KimonoCore.Kimono.ColorEventDelegate
RemoveColor
Occurs when remove color.
ReturnToShape
KimonoCore.Kimono.ShapeEventDelegate
ReturnToShape
Occurs when return to shape.
##Public Class KimonoInspectorPolygon
###Namespace
KimonoMac
###Inherits From
AppKit.NSView
###Summary
Handles the inspector view for the KimonoShapePolygon
.
Fields Summary _selectedShape
Private KimonoCore.KimonoShapePolygon
_selectedShape
The selected shape.
ShapeModified
Private KimonoCore.Kimono.PortfolioEventDelegate
ShapeModified
The private ShapeModified
field of the KimonoInspectorPolygon
class holds a KimonoCore.Kimono.PortfolioEventDelegate
value.
Properties Summary DesignSurface
Public KimonoCore.Mac.KimonoDesignSurface
DesignSurface
Gets or sets the design surface.
The design surface.
SelectedShape
Public KimonoCore.KimonoShapePolygon
SelectedShape
Gets or sets the selected shape.
The selected shape.
SidesSlider
Private Read Only AppKit.NSSlider
SidesSlider
The private read only SidesSlider
property of the KimonoInspectorPolygon
class has a AppKit.NSSlider
value.
SidesValue
Private Read Only AppKit.NSTextField
SidesValue
The private read only SidesValue
property of the KimonoInspectorPolygon
class has a AppKit.NSTextField
value.
Methods Summary Initialize
Public Void Initialize ()
Initialize this instance.
KimonoInspectorPolygon
Public Void KimonoInspectorPolygon (System.IntPtr)
Initializes a new instance of the KimonoInspectorPolygon class.
Parameter Summary handle
System.IntPtr handle
Handle.
MoveTo
Public System.nfloat
MoveTo (System.nfloat)
Moves the inspector to the given location.
Parameter Summary y
System.nfloat y
The y coordinate.
The next location based on the inspector's size.
RaiseShapeModified
Void RaiseShapeModified ()
Raises the shape modified event.
ReleaseDesignerOutlets
Private Void ReleaseDesignerOutlets ()
The private ReleaseDesignerOutlets ()
member of the KimonoInspectorPolygon
class.
SidesChanged
Private Void SidesChanged (Foundation.NSObject)
Handles the number of sides changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
UpdateInspector
Public Void UpdateInspector ()
Updates the inspector.
Events Summary ShapeModified
KimonoCore.Kimono.PortfolioEventDelegate
ShapeModified
Occurs when shape modified.
##Public Class KimonoInspectorPortfolio
###Namespace
KimonoMac
###Inherits From
AppKit.NSView
###Summary
Handles the inspector view for a KimonoPortfolio
.
Fields Summary _selectedPortfolio
Private KimonoCore.KimonoPortfolio
_selectedPortfolio
The selected portfolio.
FirstChange
Private System.Boolean
FirstChange
Indicates of the first change has been made to a textbox. This is used to keep from creating an undo point on every character that the user chages in the textbox's text.
PortfolioModified
Private KimonoCore.Kimono.PortfolioEventDelegate
PortfolioModified
Added In API Version 01.01.00
The private PortfolioModified
field of the KimonoInspectorPortfolio
class holds a KimonoCore.Kimono.PortfolioEventDelegate
value.
Properties Summary AuthorField
Private Read Only AppKit.NSTextField
AuthorField
01.01.00
The private read only AuthorField
property of the KimonoInspectorPortfolio
class has a AppKit.NSTextField
value.
CopyrightField
01.01.00
The private read only CopyrightField
property of the KimonoInspectorPortfolio
class has a KimonoMac.KimonoTextView
value.
DesignSurface
Public KimonoCore.Mac.KimonoDesignSurface
DesignSurface
Gets or sets the design surface.
The design surface.
NameField
Private Read Only AppKit.NSTextField
NameField
01.01.00
The private read only NameField
property of the KimonoInspectorPortfolio
class has a AppKit.NSTextField
value.
NamespaceField
Private Read Only AppKit.NSTextField
NamespaceField
01.01.00
The private read only NamespaceField
property of the KimonoInspectorPortfolio
class has a AppKit.NSTextField
value.
SelectedPortfolio
Public KimonoCore.KimonoPortfolio
SelectedPortfolio
Gets or sets the selected portfolio.
The selected portfolio.
Methods Summary Initialize
Public Void Initialize ()
Initialize this instance.
KimonoInspectorPortfolio
Public Void KimonoInspectorPortfolio (System.IntPtr)
01.01.00
The public KimonoInspectorPortfolio (System.IntPtr)
constructor for the KimonoInspectorPortfolio
class.
Parameter Summary handle
System.IntPtr handle
Added In API Version 01.01.00
The handle
parameter of the KimonoInspectorPortfolio method takes a System.IntPtr
value.
MoveTo
Public System.nfloat
MoveTo (System.nfloat)
Moves the inspector to the given location.
Parameter Summary y
System.nfloat y
The y coordinate.
The next location based on the inspector's size.
RaisePortfolioModified
Void RaisePortfolioModified ()
Raises the portfolio modified event.
ReleaseDesignerOutlets
Private Void ReleaseDesignerOutlets ()
01.01.00
The private ReleaseDesignerOutlets ()
member of the KimonoInspectorPortfolio
class.
UpdateInspector
Public Void UpdateInspector ()
Updates the inspector.
Events Summary PortfolioModified
KimonoCore.Kimono.PortfolioEventDelegate
PortfolioModified
Occurs when portfolio modified.
##Public Class KimonoInspectorProperty
###Namespace
KimonoMac
###Inherits From
AppKit.NSView
###Summary
Handles the general property inspector for KimonoProperty
objects.
Fields Summary _selectedProperty
Private KimonoCore.KimonoProperty
_selectedProperty
The selected property.
PropertyModified
Private KimonoCore.Kimono.PropertyEventDelegate
PropertyModified
Added In API Version 01.01.00
The private PropertyModified
field of the KimonoInspectorProperty
class holds a KimonoCore.Kimono.PropertyEventDelegate
value.
RequestDeleteProperty
Private KimonoCore.Kimono.PropertyEventDelegate
RequestDeleteProperty
Added In API Version 01.01.00
The private RequestDeleteProperty
field of the KimonoInspectorProperty
class holds a KimonoCore.Kimono.PropertyEventDelegate
value.
RequestDuplicateProperty
Private KimonoCore.Kimono.PropertyEventDelegate
RequestDuplicateProperty
Added In API Version 01.01.00
The private RequestDuplicateProperty
field of the KimonoInspectorProperty
class holds a KimonoCore.Kimono.PropertyEventDelegate
value.
Properties Summary DesignSurface
Public KimonoCore.Mac.KimonoDesignSurface
DesignSurface
Gets or sets the design surface.
The design surface.
PropertyName
Private Read Only AppKit.NSTextField
PropertyName
01.01.00
The private read only PropertyName
property of the KimonoInspectorProperty
class has a AppKit.NSTextField
value.
PropertyType
Private Read Only AppKit.NSTextField
PropertyType
01.01.00
The private read only PropertyType
property of the KimonoInspectorProperty
class has a AppKit.NSTextField
value.
PropertyUsage
Private Read Only AppKit.NSPopUpButton
PropertyUsage
01.01.00
The private read only PropertyUsage
property of the KimonoInspectorProperty
class has a AppKit.NSPopUpButton
value.
SelectedProperty
Public KimonoCore.KimonoProperty
SelectedProperty
Gets or sets the selected property.
The selected property.
Methods Summary DeleteProperty
Private Void DeleteProperty (Foundation.NSObject)
Requests the property be deleted.
Parameter Summary sender
Foundation.NSObject sender
Sender.
DuplicateProperty
Private Void DuplicateProperty (Foundation.NSObject)
Duplicates the property.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Initialize
Public Void Initialize ()
Initialize this instance.
KimonoInspectorProperty
Public Void KimonoInspectorProperty (System.IntPtr)
01.01.00
The public KimonoInspectorProperty (System.IntPtr)
constructor for the KimonoInspectorProperty
class.
Parameter Summary handle
System.IntPtr handle
Added In API Version 01.01.00
The handle
parameter of the KimonoInspectorProperty method takes a System.IntPtr
value.
MoveTo
Public System.nfloat
MoveTo (System.nfloat)
Moves the inspector to the given location.
Parameter Summary y
System.nfloat y
The y coordinate.
The next location based on the inspector's size.
RaisePropertyModified
Void RaisePropertyModified ()
Raises the property modified event.
RaiseRequestDeleteProperty
Void RaiseRequestDeleteProperty ()
Raises the request delete property event.
RaiseRequestDuplicateProperty
Void RaiseRequestDuplicateProperty ()
Raises the request duplicate property event.
ReleaseDesignerOutlets
Private Void ReleaseDesignerOutlets ()
01.01.00
The private ReleaseDesignerOutlets ()
member of the KimonoInspectorProperty
class.
UpdateInspector
Public Void UpdateInspector ()
Updates the inspector.
UsageChanged
Private Void UsageChanged (Foundation.NSObject)
Usage the changed.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Events Summary PropertyModified
KimonoCore.Kimono.PropertyEventDelegate
PropertyModified
Occurs when property modified.
RequestDeleteProperty
KimonoCore.Kimono.PropertyEventDelegate
RequestDeleteProperty
Occurs when delete property.
RequestDuplicateProperty
KimonoCore.Kimono.PropertyEventDelegate
RequestDuplicateProperty
Occurs when duplicate property.
##Public Class KimonoInspectorRoundRect
###Namespace
KimonoMac
###Inherits From
AppKit.NSView
###Summary
Handles the inspector view for a KimonoShapeRoundRect
.
Fields Summary _selectedRoundRect
Private KimonoCore.KimonoShapeRoundRect
_selectedRoundRect
The selected shape.
ShapeModified
Private KimonoCore.Kimono.PortfolioEventDelegate
ShapeModified
The private ShapeModified
field of the KimonoInspectorRoundRect
class holds a KimonoCore.Kimono.PortfolioEventDelegate
value.
Properties Summary DesignSurface
Public KimonoCore.Mac.KimonoDesignSurface
DesignSurface
Gets or sets the design surface.
The design surface.
RadiusSlider
Private Read Only AppKit.NSSlider
RadiusSlider
The private read only RadiusSlider
property of the KimonoInspectorRoundRect
class has a AppKit.NSSlider
value.
RadiusValue
Private Read Only AppKit.NSTextField
RadiusValue
The private read only RadiusValue
property of the KimonoInspectorRoundRect
class has a AppKit.NSTextField
value.
SelectedRoundRect
Public KimonoCore.KimonoShapeRoundRect
SelectedRoundRect
Gets or sets the selected round rectangle.
The selected round rectangle.
Methods Summary Initialize
Public Void Initialize ()
Initialize this instance.
KimonoInspectorRoundRect
Public Void KimonoInspectorRoundRect (System.IntPtr)
Initializes a new instance of the KimonoInspectorRoundRect class.
Parameter Summary handle
System.IntPtr handle
Handle.
MoveTo
Public System.nfloat
MoveTo (System.nfloat)
Moves the inspector to the given location.
Parameter Summary y
System.nfloat y
The y coordinate.
The next location based on the inspector's size.
RadiusChanged
Private Void RadiusChanged (Foundation.NSObject)
Handles the radius changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
RaiseShapeModified
Void RaiseShapeModified ()
Raises the shape modified event.
ReleaseDesignerOutlets
Private Void ReleaseDesignerOutlets ()
The private ReleaseDesignerOutlets ()
member of the KimonoInspectorRoundRect
class.
UpdateInspector
Public Void UpdateInspector ()
Updates the inspector.
Events Summary ShapeModified
KimonoCore.Kimono.PortfolioEventDelegate
ShapeModified
Occurs when shape modified.
##Public Class KimonoInspectorSketch
###Namespace
KimonoMac
###Inherits From
AppKit.NSView
###Summary
Handles the inspector view for a given KimonoSketch
.
Fields Summary _selectedSketch
Private KimonoCore.KimonoSketch
_selectedSketch
The selected sketch.
MakeDuplicate
Private KimonoCore.Kimono.PortfolioEventDelegate
MakeDuplicate
The private MakeDuplicate
field of the KimonoInspectorSketch
class holds a KimonoCore.Kimono.PortfolioEventDelegate
value.
RemoveSketch
Private KimonoCore.Kimono.PortfolioEventDelegate
RemoveSketch
The private RemoveSketch
field of the KimonoInspectorSketch
class holds a KimonoCore.Kimono.PortfolioEventDelegate
value.
SketchModified
Private KimonoCore.Kimono.PortfolioEventDelegate
SketchModified
The private SketchModified
field of the KimonoInspectorSketch
class holds a KimonoCore.Kimono.PortfolioEventDelegate
value.
Properties Summary CanvasColor
Private Read Only AppKit.NSColorWell
CanvasColor
The private read only CanvasColor
property of the KimonoInspectorSketch
class has a AppKit.NSColorWell
value.
CanvasColorCheckbox
Private Read Only AppKit.NSButton
CanvasColorCheckbox
The private read only CanvasColorCheckbox
property of the KimonoInspectorSketch
class has a AppKit.NSButton
value.
DesignSurface
Public KimonoCore.Mac.KimonoDesignSurface
DesignSurface
Gets or sets the design surface.
The design surface.
OpacitySlider
Private Read Only AppKit.NSSlider
OpacitySlider
The private read only OpacitySlider
property of the KimonoInspectorSketch
class has a AppKit.NSSlider
value.
OpacityValue
Private Read Only AppKit.NSTextField
OpacityValue
The private read only OpacityValue
property of the KimonoInspectorSketch
class has a AppKit.NSTextField
value.
SelectedSketch
Public KimonoCore.KimonoSketch
SelectedSketch
Gets or sets the selected sketch.
The selected sketch.
SketchHeight
Private Read Only AppKit.NSTextField
SketchHeight
The private read only SketchHeight
property of the KimonoInspectorSketch
class has a AppKit.NSTextField
value.
SketchName
Private Read Only AppKit.NSTextField
SketchName
The private read only SketchName
property of the KimonoInspectorSketch
class has a AppKit.NSTextField
value.
SketchWidth
Private Read Only AppKit.NSTextField
SketchWidth
The private read only SketchWidth
property of the KimonoInspectorSketch
class has a AppKit.NSTextField
value.
ToBitmapCheckbox
Private Read Only AppKit.NSButton
ToBitmapCheckbox
01.01.00
The private read only ToBitmapCheckbox
property of the KimonoInspectorSketch
class has a AppKit.NSButton
value.
ToCanvasCheckbox
Private Read Only AppKit.NSButton
ToCanvasCheckbox
01.01.00
The private read only ToCanvasCheckbox
property of the KimonoInspectorSketch
class has a AppKit.NSButton
value.
ToDataCheckbox
Private Read Only AppKit.NSButton
ToDataCheckbox
01.01.00
The private read only ToDataCheckbox
property of the KimonoInspectorSketch
class has a AppKit.NSButton
value.
UseSkiaSharpViewsCheckbox
Private Read Only AppKit.NSButton
UseSkiaSharpViewsCheckbox
01.01.00
The private read only UseSkiaSharpViewsCheckbox
property of the KimonoInspectorSketch
class has a AppKit.NSButton
value.
Methods Summary CanvasColorChanged
Private Void CanvasColorChanged (Foundation.NSObject)
Handles the canvas color changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
DeleteSketch
Private Void DeleteSketch (Foundation.NSObject)
Deletes the sketch.
Parameter Summary sender
Foundation.NSObject sender
Sender.
DuplicateSketch
Private Void DuplicateSketch (Foundation.NSObject)
Duplicates the sketch.
Parameter Summary sender
Foundation.NSObject sender
Sender.
HasCanvasColorChanged
Private Void HasCanvasColorChanged (Foundation.NSObject)
Does the canvas include a colored background?
Parameter Summary sender
Foundation.NSObject sender
Sender.
Initialize
Public Void Initialize ()
Initialize this instance.
KimonoInspectorSketch
Public Void KimonoInspectorSketch (System.IntPtr)
Initializes a new instance of the KimonoInspectorSketch class.
Parameter Summary handle
System.IntPtr handle
Handle.
MoveTo
Public System.nfloat
MoveTo (System.nfloat)
Moves the inspector to the given location.
Parameter Summary y
System.nfloat y
The y coordinate.
The next location based on the inspector's size.
OpacityChanged
Private Void OpacityChanged (Foundation.NSObject)
Handles the opacity changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
RaiseMakeDuplicate
Void RaiseMakeDuplicate ()
Raises the make duplicate event.
RaiseRemoveSketch
Void RaiseRemoveSketch ()
Raises the remove sketch event.
RaiseSketchModified
Void RaiseSketchModified ()
Raises the sketch modified event.
ReleaseDesignerOutlets
Private Void ReleaseDesignerOutlets ()
The private ReleaseDesignerOutlets ()
member of the KimonoInspectorSketch
class.
ToBitmapChanged
Private Void ToBitmapChanged (Foundation.NSObject)
Handles the to bitmap checkbox changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
ToCanvasChanged
Private Void ToCanvasChanged (Foundation.NSObject)
Handles the to canvas checkboc changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
ToDataChanged
Private Void ToDataChanged (Foundation.NSObject)
Handles the to data checkbox changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
UpdateInspector
Public Void UpdateInspector ()
Updates the inspector.
UseSkiaSharpViewsChanged
Private Void UseSkiaSharpViewsChanged (Foundation.NSObject)
Handles the use SkiaSharp views checkbox changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Events Summary MakeDuplicate
KimonoCore.Kimono.PortfolioEventDelegate
MakeDuplicate
Occurs when make duplicate.
RemoveSketch
KimonoCore.Kimono.PortfolioEventDelegate
RemoveSketch
Occurs when remove sketch.
SketchModified
KimonoCore.Kimono.PortfolioEventDelegate
SketchModified
Occurs when sketch modified.
##Public Class KimonoInspectorStar
###Namespace
KimonoMac
###Inherits From
AppKit.NSView
###Summary
Handles the inspector view for a KimonoShapeStar
.
Fields Summary _selectedShape
Private KimonoCore.KimonoShapeStar
_selectedShape
The selected shape.
ShapeModified
Private KimonoCore.Kimono.PortfolioEventDelegate
ShapeModified
The private ShapeModified
field of the KimonoInspectorStar
class holds a KimonoCore.Kimono.PortfolioEventDelegate
value.
Properties Summary DepthSlider
Private Read Only AppKit.NSSlider
DepthSlider
The private read only DepthSlider
property of the KimonoInspectorStar
class has a AppKit.NSSlider
value.
DepthValue
Private Read Only AppKit.NSTextField
DepthValue
The private read only DepthValue
property of the KimonoInspectorStar
class has a AppKit.NSTextField
value.
DesignSurface
Public KimonoCore.Mac.KimonoDesignSurface
DesignSurface
Gets or sets the design surface.
The design surface.
PointsSlider
Private Read Only AppKit.NSSlider
PointsSlider
The private read only PointsSlider
property of the KimonoInspectorStar
class has a AppKit.NSSlider
value.
PointsValue
Private Read Only AppKit.NSTextField
PointsValue
The private read only PointsValue
property of the KimonoInspectorStar
class has a AppKit.NSTextField
value.
SelectedShape
Public KimonoCore.KimonoShapeStar
SelectedShape
Gets or sets the selected shape.
The selected shape.
SkipSlider
Private Read Only AppKit.NSSlider
SkipSlider
The private read only SkipSlider
property of the KimonoInspectorStar
class has a AppKit.NSSlider
value.
SkipValue
Private Read Only AppKit.NSTextField
SkipValue
The private read only SkipValue
property of the KimonoInspectorStar
class has a AppKit.NSTextField
value.
Methods Summary DepthChanged
Private Void DepthChanged (Foundation.NSObject)
Handles the point depth value chainging.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Initialize
Public Void Initialize ()
Initialize this instance.
KimonoInspectorStar
Public Void KimonoInspectorStar (System.IntPtr)
Initializes a new instance of the KimonoInspectorStar class.
Parameter Summary handle
System.IntPtr handle
Handle.
MoveTo
Public System.nfloat
MoveTo (System.nfloat)
Moves the inspector to the given location.
Parameter Summary y
System.nfloat y
The y coordinate.
The next location based on the inspector's size.
PointsChanged
Private Void PointsChanged (Foundation.NSObject)
Handles the number of points changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
RaiseShapeModified
Void RaiseShapeModified ()
Raises the shape modified event.
ReleaseDesignerOutlets
Private Void ReleaseDesignerOutlets ()
The private ReleaseDesignerOutlets ()
member of the KimonoInspectorStar
class.
SkipChanged
Private Void SkipChanged (Foundation.NSObject)
Handles the skip points number changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
UpdateInspector
Public Void UpdateInspector ()
Updates the inspector.
Events Summary ShapeModified
KimonoCore.Kimono.PortfolioEventDelegate
ShapeModified
Occurs when shape modified.
##Public Class KimonoInspectorStyle
###Namespace
KimonoMac
###Inherits From
AppKit.NSView
###Summary
Handles the inspector view for a given KimonoStyle
.
Fields Summary _selectedShape
Private KimonoCore.KimonoShape
_selectedShape
The selected shape.
_selectedStyle
Private KimonoCore.KimonoStyle
_selectedStyle
The selected style.
MakeDuplicate
Private KimonoCore.Kimono.StyleEventDelegate
MakeDuplicate
The private MakeDuplicate
field of the KimonoInspectorStyle
class holds a KimonoCore.Kimono.StyleEventDelegate
value.
RemoveStyle
Private KimonoCore.Kimono.StyleEventDelegate
RemoveStyle
The private RemoveStyle
field of the KimonoInspectorStyle
class holds a KimonoCore.Kimono.StyleEventDelegate
value.
ReturnToShape
Private KimonoCore.Kimono.ShapeEventDelegate
ReturnToShape
The private ReturnToShape
field of the KimonoInspectorStyle
class holds a KimonoCore.Kimono.ShapeEventDelegate
value.
ShapeModified
Private KimonoCore.Kimono.PortfolioEventDelegate
ShapeModified
The private ShapeModified
field of the KimonoInspectorStyle
class holds a KimonoCore.Kimono.PortfolioEventDelegate
value.
StyleModified
Private KimonoCore.Kimono.PortfolioEventDelegate
StyleModified
The private StyleModified
field of the KimonoInspectorStyle
class holds a KimonoCore.Kimono.PortfolioEventDelegate
value.
StyleTypeChanged
Private KimonoCore.Kimono.StyleEventDelegate
StyleTypeChanged
The private StyleTypeChanged
field of the KimonoInspectorStyle
class holds a KimonoCore.Kimono.StyleEventDelegate
value.
Properties Summary ApplyButton
Private Read Only AppKit.NSButton
ApplyButton
The private read only ApplyButton
property of the KimonoInspectorStyle
class has a AppKit.NSButton
value.
Backbutton
Private Read Only AppKit.NSButton
Backbutton
The private read only Backbutton
property of the KimonoInspectorStyle
class has a AppKit.NSButton
value.
DeleteButton
Private Read Only AppKit.NSButton
DeleteButton
The private read only DeleteButton
property of the KimonoInspectorStyle
class has a AppKit.NSButton
value.
DesignSurface
Public KimonoCore.Mac.KimonoDesignSurface
DesignSurface
Gets or sets the design surface.
The design surface.
SelectedShape
Public KimonoCore.KimonoShape
SelectedShape
Gets or sets the selected shape.
The selected shape.
SelectedStyle
Public KimonoCore.KimonoStyle
SelectedStyle
Gets or sets the selected style.
The selected style.
StyleName
Private Read Only AppKit.NSTextField
StyleName
The private read only StyleName
property of the KimonoInspectorStyle
class has a AppKit.NSTextField
value.
TypeDropdown
Private Read Only AppKit.NSPopUpButton
TypeDropdown
The private read only TypeDropdown
property of the KimonoInspectorStyle
class has a AppKit.NSPopUpButton
value.
Methods Summary ApplyChange
Private Void ApplyChange (Foundation.NSObject)
Applies the change to the currently selected KimonShape
.
Parameter Summary sender
Foundation.NSObject sender
Sender.
DeleteStyle
Private Void DeleteStyle (Foundation.NSObject)
Deletes the style.
Parameter Summary sender
Foundation.NSObject sender
Sender.
DuplicateStyle
Private Void DuplicateStyle (Foundation.NSObject)
Duplicates the style.
Parameter Summary sender
Foundation.NSObject sender
Sender.
GoBack
Private Void GoBack (Foundation.NSObject)
Returns to the currently selected shape.
Parameter Summary sender
Foundation.NSObject sender
Sender.
Initialize
Public Void Initialize ()
Initialize this instance.
KimonoInspectorStyle
Public Void KimonoInspectorStyle (System.IntPtr)
Initializes a new instance of the KimonoInspectorStyle class.
Parameter Summary handle
System.IntPtr handle
Handle.
MoveTo
Public System.nfloat
MoveTo (System.nfloat)
Moves the inspector to the given location.
Parameter Summary y
System.nfloat y
The y coordinate.
The next location based on the inspector's size.
RaiseMakeDuplicate
Void RaiseMakeDuplicate (KimonoCore.KimonoStyle)
Raises the make duplicate event.
Parameter Summary style
KimonoCore.KimonoStyle style
Style.
RaiseRemoveStyle
Void RaiseRemoveStyle (KimonoCore.KimonoStyle)
Raises the remove style event.
Parameter Summary style
KimonoCore.KimonoStyle style
Style.
RaiseReturnToShape
Void RaiseReturnToShape (KimonoCore.KimonoShape)
Raises the return to shape event.
Parameter Summary shape
KimonoCore.KimonoShape shape
Shape.
RaiseShapeModified
Void RaiseShapeModified ()
Raises the shape modified event.
RaiseStyleModified
Void RaiseStyleModified ()
Raises the style modified event.
RaiseStyleTypeChanged
Void RaiseStyleTypeChanged (KimonoCore.KimonoStyle)
Raises the style type changed event.
Parameter Summary style
KimonoCore.KimonoStyle style
Style.
ReleaseDesignerOutlets
Private Void ReleaseDesignerOutlets ()
The private ReleaseDesignerOutlets ()
member of the KimonoInspectorStyle
class.
TypeChanged
Private Void TypeChanged (Foundation.NSObject)
Handles the KimonoStyle
's type changing.
Parameter Summary sender
Foundation.NSObject sender
Sender.
UpdateInspector
Public Void UpdateInspector ()
Updates the inspector.
Events Summary MakeDuplicate
KimonoCore.Kimono.StyleEventDelegate
MakeDuplicate
Occurs when make duplicate.
RemoveStyle
KimonoCore.Kimono.StyleEventDelegate
RemoveStyle
Occurs when remove style.
ReturnToShape
KimonoCore.Kimono.ShapeEventDelegate
ReturnToShape
Occurs when return to shape.
ShapeModified
KimonoCore.Kimono.PortfolioEventDelegate
ShapeModified
Occurs when shape modified.
StyleModified
KimonoCore.Kimono.PortfolioEventDelegate
StyleModified
Occurs when style modified.
StyleTypeChanged
KimonoCore.Kimono.StyleEventDelegate
StyleTypeChanged
Occurs when style type changed.
##Public Class KimonoInspectorText
###Namespace
KimonoMac
###Inherits From
AppKit.NSView
###Summary
Handles the inspector view for a given KimonoShapeText
.
Fields Summary _selectedShape
Private KimonoCore.KimonoShapeText
_selectedShape
The selected shape.
FirstChange
Private System.Boolean
FirstChange
Indicates of the first change has been made to a textbox. This is used to keep from creating an undo point on every character that the user chages in the textbox's text.
ShapeModified
Private KimonoCore.Kimono.PortfolioEventDelegate
ShapeModified
The private ShapeModified
field of the KimonoInspectorText
class holds a KimonoCore.Kimono.PortfolioEventDelegate
value.
Properties Summary Contents
The private read only Contents
property of the KimonoInspectorText
class has a KimonoMac.KimonoTextView
value.
DesignSurface
Public KimonoCore.Mac.KimonoDesignSurface
DesignSurface
Gets or sets the design surface.
The design surface.
SelectedShape
Public KimonoCore.KimonoShapeText
SelectedShape
Gets or sets the selected shape.
The selected shape.
Methods Summary Initialize
Public Void Initialize ()
Initialize this instance.
KimonoInspectorText
Public Void KimonoInspectorText (System.IntPtr)
Initializes a new instance of the KimonoInspectorText class.
Parameter Summary handle
System.IntPtr handle
Handle.
MoveTo
Public System.nfloat
MoveTo (System.nfloat)
Moves the inspector to the given location.
Parameter Summary y
System.nfloat y
The y coordinate.
The next location based on the inspector's size.
RaiseShapeModified
Void RaiseShapeModified ()
Raises the shape modified event.
ReleaseDesignerOutlets
Private Void ReleaseDesignerOutlets ()
The private ReleaseDesignerOutlets ()
member of the KimonoInspectorText
class.
UpdateInspector
Public Void UpdateInspector ()
Updates the inspector.
Events Summary ShapeModified
KimonoCore.Kimono.PortfolioEventDelegate
ShapeModified
Occurs when shape modified.
##Public Class KimonoTextView
###Namespace
KimonoMac
###Inherits From
AppKit.NSTextView
###Summary
A type of NSTextView
that provides a TextChanged
event to monitor when the user adjust the text of the KimonoShapeText
instance.
Methods Summary DidChangeText
Public Virtual Void DidChangeText ()
Handles the value of the text field changing
KimonoTextView
Public Void KimonoTextView ()
Initializes a new instance of the KimonoTextView class.
KimonoTextView
Public Void KimonoTextView (CoreGraphics.CGRect)
Initializes a new instance of the KimonoTextView class.
Parameter Summary frameRect
CoreGraphics.CGRect frameRect
Frame rect.
KimonoTextView
Public Void KimonoTextView (Foundation.NSCoder)
Initializes a new instance of the KimonoTextView class.
Parameter Summary coder
Foundation.NSCoder coder
Coder.
KimonoTextView
Public Void KimonoTextView (System.IntPtr)
Initializes a new instance of the KimonoTextView class.
Parameter Summary handle
System.IntPtr handle
Handle.
RaiseTextChanged
Void RaiseTextChanged (System.String)
Raises the text changed event.
Parameter Summary text
System.String text
Text.
##Public Class LanguageClosure
###Namespace
AppKit.TextKit.Formatter
###Inherits From
Foundation.NSObject
###Summary
The LanguageClosure class holds information about a closure such as (), [], "" or '' that can be used to define a section of text in a LanguageDescriptor . The Language Closure is used by auto complete in a SourceTextView .
Properties Summary EndingCharacter
Public System.Char
EndingCharacter
Gets or sets the ending character for this closure.
The ending character.
StartingCharacter
Public System.Char
StartingCharacter
Gets or sets the starting character for this closure.
The starting character.
Methods Summary LanguageClosure
Public Void LanguageClosure ()
Initializes a new instance of the LanguageClosure class.
LanguageClosure
Public Void LanguageClosure (System.Char)
Initializes a new instance of the LanguageClosure class.
Parameter Summary character
System.Char character
The character that both starts and ends this closure.
LanguageClosure
Public Void LanguageClosure (System.Char, System.Char)
Initializes a new instance of the LanguageClosure class.
Parameter Summary startingCharacter
System.Char startingCharacter
The character that starts the closure.
endingCharacter
System.Char endingCharacter
The character that ends the closure.
##Public Class LanguageDescriptor
###Namespace
AppKit.TextKit.Formatter
###Inherits From
Foundation.NSObject
###Summary
The LanguageDescriptor class defines how a LanguageFormatter should syntax highlight text for a given language such as C#, JavaScript or Visual Basic.
Properties Summary AccessKeywordColor
Public AppKit.NSColor
AccessKeywordColor
Gets or sets the color of a access keyword.
The NSColor
of the access keyword.
AccessModifierColor
Public AppKit.NSColor
AccessModifierColor
Gets or sets the color of a access modifier keyword.
The NSColor
of the access modifier.
Closures
Public System.Collections.Generic.List<AppKit.TextKit.Formatter.LanguageClosure>
Closures
Gets or sets the collection of LanguageClosure used to auto complete to closure of text such as (), [], "" or ''.
The closures.
CommentColor
Public AppKit.NSColor
CommentColor
Gets or sets the color of a comment.
The NSColor
of the comment.
ContextualKeywordColor
Public AppKit.NSColor
ContextualKeywordColor
Gets or sets the color of a contextual keyword.
The NSColor
of the contextual keyword.
ConversionKeywordColor
Public AppKit.NSColor
ConversionKeywordColor
Gets or sets the color of a conversion keyword.
The NSColor
of the conversion keyword.
EscapeCharacter
Public Virtual Read Only System.Char
EscapeCharacter
Gets the escape character for the given language.
The escape character.
ExceptionHandlingColor
Public AppKit.NSColor
ExceptionHandlingColor
Gets or sets the color of a exception handling keyword.
The NSColor
of the exception handling.
Formats
Public System.Collections.Generic.List<AppKit.TextKit.Formatter.FormatDescriptor>
Formats
Gets or sets the collection of FormatDescriptor formats used to syntax highlight this language.
The formats.
FormattingCommands
Public System.Collections.Generic.List<AppKit.TextKit.Formatter.LanguageFormatCommand>
FormattingCommands
Gets or sets the formatting commands that can be added to the user interface for the user to select and apply to a selection of text in the editor.
The LanguageFormatCommand items.
IterationStatementColor
Public AppKit.NSColor
IterationStatementColor
Gets or sets the color of a iteration statement keyword.
The NSColor
of the iteration statement.
JumpStatementColor
Public AppKit.NSColor
JumpStatementColor
Gets or sets the color of a jump statement keyword.
The NSColor
of the jump statement.
KeywordColor
Public AppKit.NSColor
KeywordColor
Gets or sets the color of generic keywords.
The NSColor
of the keyword.
Keywords
Public System.Collections.Generic.Dictionary<System.String,AppKit.TextKit.Formatter.KeywordDescriptor>
Keywords
Gets or sets the collection of KeywordDescriptor used to define the keywords for this language.
The keywords.
LanguageIdentifier
Public Virtual Read Only System.String
LanguageIdentifier
Gets the language identifier.
The language identifier.
LanguageSeparators
Public Virtual System.Char[]
LanguageSeparators
Gets or sets the language separators that can be used to define a "word" in the given language.
The language separators.
LiteralKeywordColor
Public AppKit.NSColor
LiteralKeywordColor
Gets or sets the color of a literal keyword.
The NSColor
of the literal keyword.
MethodParameterColor
Public AppKit.NSColor
MethodParameterColor
Gets or sets the color of a method parameter keyword.
The NSColor
of the method parameter.
ModifierColor
Public AppKit.NSColor
ModifierColor
Gets or sets the color of a generic modifier keyword.
The NSColor
of the modifier.
NamespaceColor
Public AppKit.NSColor
NamespaceColor
Gets or sets the color of a namespace keyword.
The NSColor
of the namespace.
OperatorKeywordColor
Public AppKit.NSColor
OperatorKeywordColor
Gets or sets the color of a operator keyword.
The NSColor
of the operator keyword.
PreprocessorDirectiveColor
Public AppKit.NSColor
PreprocessorDirectiveColor
Gets or sets the color of a preprocessor directive keyword.
The NSColor
of the preprocessor directive.
QueryKeywordColor
Public AppKit.NSColor
QueryKeywordColor
Gets or sets the color of a query keyword.
The NSColor
of the query keyword.
ReferenceTypeColor
Public AppKit.NSColor
ReferenceTypeColor
Gets or sets the color of a reference type keyword.
The NSColor
of the reference type.
SelectionStatementColor
Public AppKit.NSColor
SelectionStatementColor
Gets or sets the color of a selection statement keyword.
The NSColor
of the selection statement.
StatementColor
Public AppKit.NSColor
StatementColor
Gets or sets the color of a generic statement keyword.
The NSColor
of the statement.
StringLiteralColor
Public AppKit.NSColor
StringLiteralColor
Gets or sets the color of a string literal.
The NSColor
of the string literal.
TypeColor
Public AppKit.NSColor
TypeColor
Gets or sets the color of generic keyword type.
The NSColor
of the type.
ValueTypeColor
Public AppKit.NSColor
ValueTypeColor
Gets or sets the color of a value type keyword.
The NSColor
of the value type.
Methods Summary ClearFormats
Public Virtual Void ClearFormats ()
Resets all of the FormatDescriptor for this language to their default states of unmacthed and inactive.
Remarks
This should only be called ba a LanguageFormatter .
Define
Public Virtual Void Define ()
Define this instance.
FormatForPreview
Public Virtual System.String
FormatForPreview (System.String)
Formats the passed in string of text for previewing.
Parameter Summary text
System.String text
Text.
The string formatted for preview.
LanguageDescriptor
Public Void LanguageDescriptor ()
Initializes a new instance of the LanguageDescriptor class.
LoadColor
Public AppKit.NSColor
LoadColor (System.String, AppKit.NSColor)
Loads the requested color from system-wide user defaults.
Parameter Summary key
System.String key
The user default key for the color.
defaultValue
AppKit.NSColor defaultValue
The default NSColor
value.
The NSColor
for the given key or the default value if the key cannot be found in the user defaults.
NSColorFromHexString
Public AppKit.NSColor
NSColorFromHexString (System.String)
Converts a web formatted hex string in the form #RRGGBB or #RRGGBBAA into a color.
Parameter Summary hexValue
System.String hexValue
The web formatted hex string in the form #RRGGBB or #RRGGBBAA.
The NSColor
represented by the hex string.
NSColorToHexString
Public System.String
NSColorToHexString (AppKit.NSColor, System.Boolean)
Converts the given color into a web style hex string in the form #RRBBGG or optionally #RRBBGGAA.
Parameter Summary color
AppKit.NSColor color
The NSColor
to convert.
withAlpha
System.Boolean withAlpha
If set to true
with the alpha (transparency) of the color will be included.
The web hex string representing the given color.
SaveColor
Public Void SaveColor (System.String, AppKit.NSColor, System.Boolean)
Saves the given color to the systwm-wide user defaults with the give keyword.
Parameter Summary color
AppKit.NSColor color
The NSColor
to save to the user defaults.
key
System.String key
The user default key to assign the color to.
sync
System.Boolean sync
If set to true
sync changes to preferences.
##Public Class LanguageFormatCommand
###Namespace
AppKit.TextKit.Formatter
###Inherits From
Foundation.NSObject
###Summary
The LanguageFormatCommand defines a formatting command that can be added to a LanguageDescriptor . When a document editor is using the given LanguageDescriptor , the LanguageFormatCommand s it defines will be added to the Formatting Menu.
Properties Summary Postfix
Public System.String
Postfix
Gets or sets the postfix that will added to the end of the selected text in the document editor. If empty (""), the Prefix
will be inserted at the start of the line that the cursor is on.
The postfix.
Prefix
Public System.String
Prefix
Gets or sets the prefix that will be added to the start of the line (if no Postfix
has been defines), or that will be inserted to the start of the current selected text in the document editor.
The prefix.
SubCommands
Public System.Collections.Generic.List<AppKit.TextKit.Formatter.LanguageFormatCommand>
SubCommands
Gets or sets the sub LanguageFormatCommand commands that will be displayed under this item in the Formatting Menu.
The sub commands.
Title
Public System.String
Title
Gets or sets the title that will appear in the Formatting Menu.
The title.
Methods Summary LanguageFormatCommand
Public Void LanguageFormatCommand ()
Initializes a new instance of the LanguageFormatCommand class.
LanguageFormatCommand
Public Void LanguageFormatCommand (System.String)
Initializes a new instance of the LanguageFormatCommand class.
Parameter Summary title
System.String title
The title for the menu item.
LanguageFormatCommand
Public Void LanguageFormatCommand (System.String, System.String)
Initializes a new instance of the LanguageFormatCommand class.
Parameter Summary title
System.String title
The title for the menu item.
prefix
System.String prefix
The prefix to insert.
LanguageFormatCommand
Public Void LanguageFormatCommand (System.String, System.String, System.String)
Initializes a new instance of the LanguageFormatCommand class.
Parameter Summary title
System.String title
The title for the menu item.
prefix
System.String prefix
The prefix to insert.
postfix
System.String postfix
The postfix to insert.
##Public Class LanguageFormatter
###Namespace
AppKit.TextKit.Formatter
###Inherits From
Foundation.NSObject
###Summary
The LanguageFormatter class uses a LanguageDescriptor to provide syntax highlighting of a NSTextField
based on a set of KeywordDescriptor andFormatDescriptor objects..
Properties Summary Language
Gets or sets the descriptor used to define the syntax highlighting rules for a given language.
The LanguageDescriptor to syntax highlight.
LineSeparator
Public System.Char
LineSeparator
Gets or sets the Unitext line separator used to define a given line of text.
The line separator.
Newline
Public System.Char
Newline
Gets or sets the newline character used to define a given line of text.
The newline character.
ParagraphSeparator
Public System.Char
ParagraphSeparator
Gets or sets the Unitext paragraph separator used to define a given paragraph of text.
The paragraph separator.
TextEditor
Public AppKit.NSTextView
TextEditor
Gets or sets the text view that this language formatter will be performing syntax highlighting on.
The NSTextView
to syntax highlight.
Methods Summary FindEndOfLine
Public Virtual Foundation.NSRange
FindEndOfLine (System.String, Foundation.NSRange)
Finds the start of end for the given location in the text as defined by the NewLine
, LineSeparator
and ParagraphSeparator
characters.
Parameter Summary text
System.String text
The text to find the end of the line in.
position
Foundation.NSRange position
The current location of the cursor in the text and possible selection.
A NSRange
containing the end of the line from the current cursor position.
FindLineBoundries
Public Virtual Foundation.NSRange
FindLineBoundries (System.String, Foundation.NSRange)
Finds the line boundries as defined by the NewLine
, LineSeparator
and ParagraphSeparator
characters.
Parameter Summary text
System.String text
The string to be searched.
position
Foundation.NSRange position
The NSRange
specifying the starting location of a possible line of text.
An NSRange
containing the starting and ending character locations of the current line of text.
FindStartOfLine
Public Virtual Foundation.NSRange
FindStartOfLine (System.String, Foundation.NSRange)
Finds the start of line for the given location in the text as defined by the NewLine
, LineSeparator
and ParagraphSeparator
characters.
Parameter Summary text
System.String text
The text to find the start of the line in.
position
Foundation.NSRange position
The current location of the cursor in the text and possible selection.
A NSRange
containing the start of the line to the current cursor position.
FindWordBoundries
Public Virtual Foundation.NSRange
FindWordBoundries (System.String, Foundation.NSRange)
Finds the word boundries as defined by the LanguageSeparators
in theLanguageDescriptor that is currently being syntax highlighted.
Parameter Summary text
System.String text
The string to be searched.
position
Foundation.NSRange position
The NSRange
specifying the starting location of a possible word.
An NSRange
containing the starting and ending character locations of the current word.
HighlightSyntax
Public Virtual Void HighlightSyntax (System.String, Foundation.NSRange)
Uses the current Language
(LanguageDescriptor ) to syntax highlight the given word in the attached TextEditor
(NSTextView
) at the given character locations.
Parameter Summary word
System.String word
The possible keyword to highlight.
range
Foundation.NSRange range
An NSRange
specifying the starting and ending character locations for the word to highlight.
Remarks
TODO: The Text Kit SetTemporaryAttributes
routines are handiling the format of character strings such as HTML or XML tag incorrectly.
HighlightSyntaxRegion
Public Virtual Void HighlightSyntaxRegion (System.String, Foundation.NSRange)
Based on the current Language
(LanguageDescriptor ), highlight the syntax of the given character region.
Parameter Summary text
System.String text
The string value to be syntax highlighted.
position
Foundation.NSRange position
The starting location of the text to be highlighted.
IsLanguageSeparator
Public Virtual System.Boolean
IsLanguageSeparator (System.Char)
Determines whether the passed in character is a language separator.
Parameter Summary c
System.Char c
The character being tested.
true
if the character is a language separator; otherwise, false
.
LanguageFormatter
Public Void LanguageFormatter (AppKit.NSTextView, AppKit.TextKit.Formatter.LanguageDescriptor)
Initializes a new instance of the LanguageFormatter class.
Parameter Summary textEditor
AppKit.NSTextView textEditor
The NSTextView
that this language formatter will syntax highlight.
language
AppKit.TextKit.Formatter.LanguageDescriptor language
The LanguageDescriptor defining the language syntax highlighting rules.
PreceedingCharacterIsWhitespaceOrTerminator
Public Virtual System.Boolean
PreceedingCharacterIsWhitespaceOrTerminator (System.String, Foundation.NSRange)
Tests to see if the preceeding character is whitespace or terminator.
Parameter Summary text
System.String text
The text to test.
position
Foundation.NSRange position
The current cursor position inside the text.
true
, if character is whitespace or terminator, false
otherwise.
Remarks
Returns true
if at start of line.
Reformat
Public Virtual Void Reformat ()
Forces all of the text in the attached NSTextView
(the TextEditor
property) to have its syntax rehighlighted by re-running the formatter.
TrailingCharacterIsWhitespaceOrTerminator
Public Virtual System.Boolean
TrailingCharacterIsWhitespaceOrTerminator (System.String, Foundation.NSRange)
Tests to see if the trailing character is whitespace or terminator.
Parameter Summary text
System.String text
The text to test.
position
Foundation.NSRange position
The current cursor position inside the text.
true
, if character is whitespace or terminator, false
otherwise.
Remarks
Returns true
if at end of line.
###Remarks
Please see our Working with Text Controls Docs for more details: https://developer.xamarin.com/guides/mac/user-interface/standard-controls/#Working_with_Text_Controls
##Private Static Class MainClass
###Namespace
KimonoMac
###Inherits From
System.Object
###Summary
Main class.
Methods Summary Main
Private Static Void Main (System.String[])
The entry point of the program, where the program control starts and ends.
Parameter Summary args
System.String[] args
The command-line arguments.
##Public Class MainWindowController
###Namespace
KimonoMac
###Inherits From
AppKit.NSWindowController
###Summary
Handles the main window for the Kimono Designer app.
Properties Summary AlignBottomTool
The private read only AlignBottomTool
property of the MainWindowController
class has a KimonoMac.ActivatableItem
value.
AlignLeftTool
The private read only AlignLeftTool
property of the MainWindowController
class has a KimonoMac.ActivatableItem
value.
AlignRightTool
The private read only AlignRightTool
property of the MainWindowController
class has a KimonoMac.ActivatableItem
value.
AlignTopTool
The private read only AlignTopTool
property of the MainWindowController
class has a KimonoMac.ActivatableItem
value.
CenterHorizontalTool
The private read only CenterHorizontalTool
property of the MainWindowController
class has a KimonoMac.ActivatableItem
value.
CenterTool
The private read only CenterTool
property of the MainWindowController
class has a KimonoMac.ActivatableItem
value.
CenterVerticalTool
The private read only CenterVerticalTool
property of the MainWindowController
class has a KimonoMac.ActivatableItem
value.
GroupShapes
The private read only GroupShapes
property of the MainWindowController
class has a KimonoMac.ActivatableItem
value.
MainController
Gets the main controller.
The main controller.
MoveBackwardsTool
The private read only MoveBackwardsTool
property of the MainWindowController
class has a KimonoMac.ActivatableItem
value.
MoveBottomTool
The private read only MoveBottomTool
property of the MainWindowController
class has a KimonoMac.ActivatableItem
value.
MoveForwardsTool
The private read only MoveForwardsTool
property of the MainWindowController
class has a KimonoMac.ActivatableItem
value.
MoveTopTool
The private read only MoveTopTool
property of the MainWindowController
class has a KimonoMac.ActivatableItem
value.
UngroupShapes
The private read only UngroupShapes
property of the MainWindowController
class has a KimonoMac.ActivatableItem
value.
Methods Summary AddColor
Public Void AddColor (Foundation.NSObject)
Adds the color.
Parameter Summary sender
Foundation.NSObject sender
Sender.
AddGradient
Public Void AddGradient (Foundation.NSObject)
Adds the gradient.
Parameter Summary sender
Foundation.NSObject sender
Sender.
AddSketch
Public Void AddSketch (Foundation.NSObject)
Adds the sketch.
Parameter Summary sender
Foundation.NSObject sender
Sender.
AddStyle
Public Void AddStyle (Foundation.NSObject)
Adds the style.
Parameter Summary sender
Foundation.NSObject sender
Sender.
MainWindowController
Public Void MainWindowController (System.IntPtr)
Initializes a new instance of the MainWindowController class.
Parameter Summary handle
System.IntPtr handle
Handle.
ReleaseDesignerOutlets
Private Void ReleaseDesignerOutlets ()
The private ReleaseDesignerOutlets ()
member of the MainWindowController
class.
WindowDidLoad
Public Virtual Void WindowDidLoad ()
Handles the window loading and configures any user interface elements based on the stateof the KimonoPortfolio
being edited.
##Public Class Markdown
###Namespace
MarkdownSharp
###Inherits From
System.Object
###Summary
Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML).
Fields Summary _amps
Private Static System.Text.RegularExpressions.Regex
_amps
Added In API Version 01.01.00
The private static _amps
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_anchorInline
Private Static System.Text.RegularExpressions.Regex
_anchorInline
Added In API Version 01.01.00
The private static _anchorInline
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_anchorRef
Private Static System.Text.RegularExpressions.Regex
_anchorRef
Added In API Version 01.01.00
The private static _anchorRef
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_anchorRefShortcut
Private Static System.Text.RegularExpressions.Regex
_anchorRefShortcut
Added In API Version 01.01.00
The private static _anchorRefShortcut
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_angles
Private Static System.Text.RegularExpressions.Regex
_angles
Added In API Version 01.01.00
The private static _angles
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_autoHyperlink
Private System.Boolean
_autoHyperlink
Added In API Version 01.01.00
The private _autoHyperlink
field of the Markdown
class holds a System.Boolean
value.
_autolinkBare
Private Static System.Text.RegularExpressions.Regex
_autolinkBare
Added In API Version 01.01.00
The private static _autolinkBare
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_autoNewlines
Private System.Boolean
_autoNewlines
Added In API Version 01.01.00
The private _autoNewlines
field of the Markdown
class holds a System.Boolean
value.
_backslashEscapes
Private Static System.Text.RegularExpressions.Regex
_backslashEscapes
Added In API Version 01.01.00
The private static _backslashEscapes
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_backslashEscapeTable
Private Static System.Collections.Generic.Dictionary<System.String,System.String>
_backslashEscapeTable
Added In API Version 01.01.00
The private static _backslashEscapeTable
field of the Markdown
class holds a System.Collections.Generic.Dictionary<System.String,System.String>
value.
_blockquote
Private Static System.Text.RegularExpressions.Regex
_blockquote
Added In API Version 01.01.00
The private static _blockquote
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_blocksHtml
Private Static System.Text.RegularExpressions.Regex
_blocksHtml
Added In API Version 01.01.00
The private static _blocksHtml
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_bold
Private Static System.Text.RegularExpressions.Regex
_bold
Added In API Version 01.01.00
The private static _bold
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_charEndingUrl
Private Static Constant System.String
_charEndingUrl = [-A-Z0-9+&@#/%=~_|\[\])]
Added In API Version 01.01.00
The private static constant _charEndingUrl
field of the Markdown
class holds a System.String
value of [-A-Z0-9+&@#/%=~_|\[\])]
.
_charInsideUrl
Private Static Constant System.String
_charInsideUrl = [-A-Z0-9+&@#/%?=~_|\[\]\(\)!:,\.;]
Added In API Version 01.01.00
The private static constant _charInsideUrl
field of the Markdown
class holds a System.String
value of [-A-Z0-9+&@#/%?=~_|\[\]\(\)!:,\.;]
.
_codeBlock
Private Static System.Text.RegularExpressions.Regex
_codeBlock
Added In API Version 01.01.00
The private static _codeBlock
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_codeEncoder
Private Static System.Text.RegularExpressions.Regex
_codeEncoder
Added In API Version 01.01.00
The private static _codeEncoder
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_codeSpan
Private Static System.Text.RegularExpressions.Regex
_codeSpan
Added In API Version 01.01.00
The private static _codeSpan
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_emptyElementSuffix
Private System.String
_emptyElementSuffix
Added In API Version 01.01.00
The private _emptyElementSuffix
field of the Markdown
class holds a System.String
value.
_encodeProblemUrlCharacters
Private System.Boolean
_encodeProblemUrlCharacters
Added In API Version 01.01.00
The private _encodeProblemUrlCharacters
field of the Markdown
class holds a System.Boolean
value.
_endCharRegex
Private Static System.Text.RegularExpressions.Regex
_endCharRegex
Added In API Version 01.01.00
The private static _endCharRegex
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_escapeTable
Private Static System.Collections.Generic.Dictionary<System.String,System.String>
_escapeTable
Added In API Version 01.01.00
The private static _escapeTable
field of the Markdown
class holds a System.Collections.Generic.Dictionary<System.String,System.String>
value.
_headerAtx
Private Static System.Text.RegularExpressions.Regex
_headerAtx
Added In API Version 01.01.00
The private static _headerAtx
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_headerSetext
Private Static System.Text.RegularExpressions.Regex
_headerSetext
Added In API Version 01.01.00
The private static _headerSetext
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_horizontalRules
Private Static System.Text.RegularExpressions.Regex
_horizontalRules
Added In API Version 01.01.00
The private static _horizontalRules
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_htmlBlockHash
Private Static System.Text.RegularExpressions.Regex
_htmlBlockHash
Added In API Version 01.01.00
The private static _htmlBlockHash
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_htmlBlocks
Private System.Collections.Generic.Dictionary<System.String,System.String>
_htmlBlocks
Added In API Version 01.01.00
The private _htmlBlocks
field of the Markdown
class holds a System.Collections.Generic.Dictionary<System.String,System.String>
value.
_htmlTokens
Private Static System.Text.RegularExpressions.Regex
_htmlTokens
Added In API Version 01.01.00
The private static _htmlTokens
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_imagesInline
Private Static System.Text.RegularExpressions.Regex
_imagesInline
Added In API Version 01.01.00
The private static _imagesInline
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_imagesRef
Private Static System.Text.RegularExpressions.Regex
_imagesRef
Added In API Version 01.01.00
The private static _imagesRef
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_invertedEscapeTable
Private Static System.Collections.Generic.Dictionary<System.String,System.String>
_invertedEscapeTable
Added In API Version 01.01.00
The private static _invertedEscapeTable
field of the Markdown
class holds a System.Collections.Generic.Dictionary<System.String,System.String>
value.
_italic
Private Static System.Text.RegularExpressions.Regex
_italic
Added In API Version 01.01.00
The private static _italic
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_leadingWhitespace
Private Static System.Text.RegularExpressions.Regex
_leadingWhitespace
Added In API Version 01.01.00
The private static _leadingWhitespace
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_linkDef
Private Static System.Text.RegularExpressions.Regex
_linkDef
Added In API Version 01.01.00
The private static _linkDef
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_linkEmails
Private System.Boolean
_linkEmails
Added In API Version 01.01.00
The private _linkEmails
field of the Markdown
class holds a System.Boolean
value.
_listLevel
Private System.Int32
_listLevel
Added In API Version 01.01.00
The private _listLevel
field of the Markdown
class holds a System.Int32
value.
_listNested
Private Static System.Text.RegularExpressions.Regex
_listNested
Added In API Version 01.01.00
The private static _listNested
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_listTopLevel
Private Static System.Text.RegularExpressions.Regex
_listTopLevel
Added In API Version 01.01.00
The private static _listTopLevel
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_markerOL
Private Static Constant System.String
_markerOL = \d+[.]
Added In API Version 01.01.00
The private static constant _markerOL
field of the Markdown
class holds a System.String
value of \d+[.]
.
_markerUL
Private Static Constant System.String
_markerUL = [*+-]
Added In API Version 01.01.00
The private static constant _markerUL
field of the Markdown
class holds a System.String
value of [*+-]
.
_nestDepth
Private Static Constant System.Int32
_nestDepth = 6
maximum nested depth of [] and () supported by the transform; implementation detail
_nestedBracketsPattern
Private Static System.String
_nestedBracketsPattern
Added In API Version 01.01.00
The private static _nestedBracketsPattern
field of the Markdown
class holds a System.String
value.
_nestedParensPattern
Private Static System.String
_nestedParensPattern
Added In API Version 01.01.00
The private static _nestedParensPattern
field of the Markdown
class holds a System.String
value.
_newlinesLeadingTrailing
Private Static System.Text.RegularExpressions.Regex
_newlinesLeadingTrailing
Added In API Version 01.01.00
The private static _newlinesLeadingTrailing
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_newlinesMultiple
Private Static System.Text.RegularExpressions.Regex
_newlinesMultiple
Added In API Version 01.01.00
The private static _newlinesMultiple
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_outDent
Private Static System.Text.RegularExpressions.Regex
_outDent
Added In API Version 01.01.00
The private static _outDent
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_problemUrlChars
Private Static System.Char[]
_problemUrlChars
Added In API Version 01.01.00
The private static _problemUrlChars
field of the Markdown
class holds a System.Char[]
value.
_strictBold
Private Static System.Text.RegularExpressions.Regex
_strictBold
Added In API Version 01.01.00
The private static _strictBold
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_strictBoldItalic
Private System.Boolean
_strictBoldItalic
Added In API Version 01.01.00
The private _strictBoldItalic
field of the Markdown
class holds a System.Boolean
value.
_strictItalic
Private Static System.Text.RegularExpressions.Regex
_strictItalic
Added In API Version 01.01.00
The private static _strictItalic
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_tabWidth
Private Static Constant System.Int32
_tabWidth = 4
Tabs are automatically converted to spaces as part of the transform this constant determines how "wide" those tabs become in spaces
_titles
Private System.Collections.Generic.Dictionary<System.String,System.String>
_titles
Added In API Version 01.01.00
The private _titles
field of the Markdown
class holds a System.Collections.Generic.Dictionary<System.String,System.String>
value.
_unescapes
Private Static System.Text.RegularExpressions.Regex
_unescapes
Added In API Version 01.01.00
The private static _unescapes
field of the Markdown
class holds a System.Text.RegularExpressions.Regex
value.
_urls
Private System.Collections.Generic.Dictionary<System.String,System.String>
_urls
Added In API Version 01.01.00
The private _urls
field of the Markdown
class holds a System.Collections.Generic.Dictionary<System.String,System.String>
value.
_version
Private Static Constant System.String
_version = 1.13
Added In API Version 01.01.00
The private static constant _version
field of the Markdown
class holds a System.String
value of 1.13
.
_wholeList
Private Static System.String
_wholeList
Added In API Version 01.01.00
The private static _wholeList
field of the Markdown
class holds a System.String
value.
AutoLinkPreventionMarker
Private Static System.String
AutoLinkPreventionMarker
Added In API Version 01.01.00
The private static AutoLinkPreventionMarker
field of the Markdown
class holds a System.String
value.
Properties Summary AutoHyperlink
Public System.Boolean
AutoHyperlink
when true, (most) bare plain URLs are auto-hyperlinked WARNING: this is a significant deviation from the markdown spec
AutoNewLines
Public System.Boolean
AutoNewLines
when true, RETURN becomes a literal newline WARNING: this is a significant deviation from the markdown spec
EmptyElementSuffix
Public System.String
EmptyElementSuffix
use ">" for HTML output, or " />" for XHTML output
EncodeProblemUrlCharacters
Public System.Boolean
EncodeProblemUrlCharacters
when true, problematic URL characters like [, ], (, and so forth will be encoded WARNING: this is a significant deviation from the markdown spec
LinkEmails
Public System.Boolean
LinkEmails
when false, email addresses will never be auto-linked WARNING: this is a significant deviation from the markdown spec
StrictBoldItalic
Public System.Boolean
StrictBoldItalic
when true, bold and italic require non-word characters on either side WARNING: this is a significant deviation from the markdown spec
Version
Public Read Only System.String
Version
current version of MarkdownSharp; see http://code.google.com/p/markdownsharp/ for the latest code or to contribute
Methods Summary AnchorInlineEvaluator
Private System.String
AnchorInlineEvaluator (System.Text.RegularExpressions.Match)
01.01.00
The private AnchorInlineEvaluator (System.Text.RegularExpressions.Match)
member of the Markdown
class returns a System.String
value.
Parameter Summary match
System.Text.RegularExpressions.Match match
Added In API Version 01.01.00
The match
parameter of the AnchorInlineEvaluator method takes a System.Text.RegularExpressions.Match
value.
AnchorRefEvaluator
Private System.String
AnchorRefEvaluator (System.Text.RegularExpressions.Match)
01.01.00
The private AnchorRefEvaluator (System.Text.RegularExpressions.Match)
member of the Markdown
class returns a System.String
value.
Parameter Summary match
System.Text.RegularExpressions.Match match
Added In API Version 01.01.00
The match
parameter of the AnchorRefEvaluator method takes a System.Text.RegularExpressions.Match
value.
AnchorRefShortcutEvaluator
Private System.String
AnchorRefShortcutEvaluator (System.Text.RegularExpressions.Match)
01.01.00
The private AnchorRefShortcutEvaluator (System.Text.RegularExpressions.Match)
member of the Markdown
class returns a System.String
value.
Parameter Summary match
System.Text.RegularExpressions.Match match
Added In API Version 01.01.00
The match
parameter of the AnchorRefShortcutEvaluator method takes a System.Text.RegularExpressions.Match
value.
AttributeEncode
Private Static System.String
AttributeEncode (System.String)
01.01.00
The private static AttributeEncode (System.String)
member of the Markdown
class returns a System.String
value.
Parameter Summary s
System.String s
Added In API Version 01.01.00
The s
parameter of the AttributeEncode method takes a System.String
value.
AtxHeaderEvaluator
Private System.String
AtxHeaderEvaluator (System.Text.RegularExpressions.Match)
01.01.00
The private AtxHeaderEvaluator (System.Text.RegularExpressions.Match)
member of the Markdown
class returns a System.String
value.
Parameter Summary match
System.Text.RegularExpressions.Match match
Added In API Version 01.01.00
The match
parameter of the AtxHeaderEvaluator method takes a System.Text.RegularExpressions.Match
value.
BlockQuoteEvaluator
Private System.String
BlockQuoteEvaluator (System.Text.RegularExpressions.Match)
01.01.00
The private BlockQuoteEvaluator (System.Text.RegularExpressions.Match)
member of the Markdown
class returns a System.String
value.
Parameter Summary match
System.Text.RegularExpressions.Match match
Added In API Version 01.01.00
The match
parameter of the BlockQuoteEvaluator method takes a System.Text.RegularExpressions.Match
value.
BlockQuoteEvaluator2
Private System.String
BlockQuoteEvaluator2 (System.Text.RegularExpressions.Match)
01.01.00
The private BlockQuoteEvaluator2 (System.Text.RegularExpressions.Match)
member of the Markdown
class returns a System.String
value.
Parameter Summary match
System.Text.RegularExpressions.Match match
Added In API Version 01.01.00
The match
parameter of the BlockQuoteEvaluator2 method takes a System.Text.RegularExpressions.Match
value.
Cleanup
01.01.00
The private Cleanup ()
member of the Markdown
class.
CodeBlockEvaluator
Private System.String
CodeBlockEvaluator (System.Text.RegularExpressions.Match)
01.01.00
The private CodeBlockEvaluator (System.Text.RegularExpressions.Match)
member of the Markdown
class returns a System.String
value.
Parameter Summary match
System.Text.RegularExpressions.Match match
Added In API Version 01.01.00
The match
parameter of the CodeBlockEvaluator method takes a System.Text.RegularExpressions.Match
value.
CodeSpanEvaluator
Private System.String
CodeSpanEvaluator (System.Text.RegularExpressions.Match)
01.01.00
The private CodeSpanEvaluator (System.Text.RegularExpressions.Match)
member of the Markdown
class returns a System.String
value.
Parameter Summary match
System.Text.RegularExpressions.Match match
Added In API Version 01.01.00
The match
parameter of the CodeSpanEvaluator method takes a System.Text.RegularExpressions.Match
value.
DoAnchors
Private System.String
DoAnchors (System.String)
01.01.00
Turn Markdown link shortcuts into HTML anchor tags
Parameter Summary text
System.String text
Added In API Version 01.01.00
The text
parameter of the DoAnchors method takes a System.String
value.
Remarks
link text [link text][id] [id]
DoAutoLinks
Private System.String
DoAutoLinks (System.String)
01.01.00
Turn angle-delimited URLs into HTML anchor tags
Parameter Summary text
System.String text
Added In API Version 01.01.00
The text
parameter of the DoAutoLinks method takes a System.String
value.
Remarks
< http://www.example.com >
DoBlockQuotes
Private System.String
DoBlockQuotes (System.String)
01.01.00
Turn Markdown > quoted blocks into HTML blockquote blocks
Parameter Summary text
System.String text
Added In API Version 01.01.00
The text
parameter of the DoBlockQuotes method takes a System.String
value.
DoCodeBlocks
Private System.String
DoCodeBlocks (System.String)
01.01.00
/// Turn Markdown 4-space indented code into HTML pre code blocks
Parameter Summary text
System.String text
Added In API Version 01.01.00
The text
parameter of the DoCodeBlocks method takes a System.String
value.
DoCodeSpans
Private System.String
DoCodeSpans (System.String)
01.01.00
Turn Markdown code spans
into HTML code tags
Parameter Summary text
System.String text
Added In API Version 01.01.00
The text
parameter of the DoCodeSpans method takes a System.String
value.
DoHardBreaks
Private System.String
DoHardBreaks (System.String)
01.01.00
Turn markdown line breaks (two space at end of line) into HTML break tags
Parameter Summary text
System.String text
Added In API Version 01.01.00
The text
parameter of the DoHardBreaks method takes a System.String
value.
DoHeaders
Private System.String
DoHeaders (System.String)
01.01.00
Turn Markdown headers into HTML header tags
Parameter Summary text
System.String text
Added In API Version 01.01.00
The text
parameter of the DoHeaders method takes a System.String
value.
Remarks
Header 1 ======== Header 2 -------- # Header 1 ## Header 2 ## Header 2 with closing hashes ## ... ###### Header 6
DoHorizontalRules
Private System.String
DoHorizontalRules (System.String)
01.01.00
Turn Markdown horizontal rules into HTML hr tags
Parameter Summary text
System.String text
Added In API Version 01.01.00
The text
parameter of the DoHorizontalRules method takes a System.String
value.
Remarks
* * * * --- - - -
DoImages
Private System.String
DoImages (System.String)
01.01.00
Turn Markdown image shortcuts into HTML img tags.