C# Class Invert.Core.GraphDesigner.ConnectorStyleSchema

Inheritance: IConnectorStyleSchema
Show file Open project: InvertGames/uFrame.Editor

Protected Properties

Property Type Description
_emptyInputIconCode string
_emptyOutputIconCode string
_emptyTwoWayIconCode string
_filledInputIconCode string
_filledOutputIconCode string
_filledTwoWayIconCode string

Public Methods

Method Description
GetTexture ( ConnectorSide side, ConnectorDirection direction, bool connected, Color tint = default(Color) ) : object
WithDefaultIcons ( ) : IConnectorStyleSchema
WithInputIcons ( string emptyIcon, string filledIcon ) : IConnectorStyleSchema
WithOutputIcons ( string emptyIcon, string filledIcon ) : IConnectorStyleSchema
WithPad ( float left, float top, float right, float bottom ) : IConnectorStyleSchema
WithTwoWayIcons ( string emptyIcon, string filledIcon ) : IConnectorStyleSchema

Protected Methods

Method Description
ConstructTexture ( ConnectorSide side, ConnectorDirection direction, bool connected, Color tint = default(Color) ) : object

Method Details

ConstructTexture() protected abstract method

protected abstract ConstructTexture ( ConnectorSide side, ConnectorDirection direction, bool connected, Color tint = default(Color) ) : object
side ConnectorSide
direction ConnectorDirection
connected bool
tint Color
return object

GetTexture() public method

public GetTexture ( ConnectorSide side, ConnectorDirection direction, bool connected, Color tint = default(Color) ) : object
side ConnectorSide
direction ConnectorDirection
connected bool
tint Color
return object

WithDefaultIcons() public method

public WithDefaultIcons ( ) : IConnectorStyleSchema
return IConnectorStyleSchema

WithInputIcons() public method

public WithInputIcons ( string emptyIcon, string filledIcon ) : IConnectorStyleSchema
emptyIcon string
filledIcon string
return IConnectorStyleSchema

WithOutputIcons() public method

public WithOutputIcons ( string emptyIcon, string filledIcon ) : IConnectorStyleSchema
emptyIcon string
filledIcon string
return IConnectorStyleSchema

WithPad() public method

public WithPad ( float left, float top, float right, float bottom ) : IConnectorStyleSchema
left float
top float
right float
bottom float
return IConnectorStyleSchema

WithTwoWayIcons() public method

public WithTwoWayIcons ( string emptyIcon, string filledIcon ) : IConnectorStyleSchema
emptyIcon string
filledIcon string
return IConnectorStyleSchema

Property Details

_emptyInputIconCode protected property

protected string _emptyInputIconCode
return string

_emptyOutputIconCode protected property

protected string _emptyOutputIconCode
return string

_emptyTwoWayIconCode protected property

protected string _emptyTwoWayIconCode
return string

_filledInputIconCode protected property

protected string _filledInputIconCode
return string

_filledOutputIconCode protected property

protected string _filledOutputIconCode
return string

_filledTwoWayIconCode protected property

protected string _filledTwoWayIconCode
return string