Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CommonUI / System / Drawing / Advanced / Blend.cs / 1305376 / Blend.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Drawing.Drawing2D { using System.Diagnostics; using System; using System.Drawing; ////// /// public sealed class Blend { float[] factors; float[] positions; ////// Defines a blend pattern for a ////// . /// /// /// public Blend() { factors = new float[1]; positions = new float[1]; } ////// Initializes a new instance of the ////// class. /// /// /// public Blend(int count) { factors = new float[count]; positions = new float[count]; } ////// Initializes a new instance of the ////// class with the specified number of factors and positions. /// /// /// Specifies an array of blend factors for the /// gradient. /// public float[] Factors { get { return factors; } set { factors = value; } } ////// /// public float[] Positions { get { return positions; } set { positions = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Specifies an array of blend positions for the gradient. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Drawing.Drawing2D { using System.Diagnostics; using System; using System.Drawing; ////// /// public sealed class Blend { float[] factors; float[] positions; ////// Defines a blend pattern for a ////// . /// /// /// public Blend() { factors = new float[1]; positions = new float[1]; } ////// Initializes a new instance of the ////// class. /// /// /// public Blend(int count) { factors = new float[count]; positions = new float[count]; } ////// Initializes a new instance of the ////// class with the specified number of factors and positions. /// /// /// Specifies an array of blend factors for the /// gradient. /// public float[] Factors { get { return factors; } set { factors = value; } } ////// /// public float[] Positions { get { return positions; } set { positions = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Specifies an array of blend positions for the gradient. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ColorMap.cs
- RoutedPropertyChangedEventArgs.cs
- XmlValueConverter.cs
- MetadataPropertyCollection.cs
- ConnectionPoint.cs
- DataViewListener.cs
- FileDialog_Vista.cs
- ProfileSection.cs
- StringPropertyBuilder.cs
- SerializationStore.cs
- validationstate.cs
- CharacterHit.cs
- WorkflowServiceAttributes.cs
- HtmlInputFile.cs
- XPathBinder.cs
- TempFiles.cs
- PropertyBuilder.cs
- DataListItem.cs
- ToolStripPanelCell.cs
- IRCollection.cs
- ClientSettingsStore.cs
- XmlSchemaInclude.cs
- LayoutEngine.cs
- RawStylusInputCustomDataList.cs
- SystemIPAddressInformation.cs
- WeakReference.cs
- IndexedString.cs
- OleDbPropertySetGuid.cs
- OLEDB_Util.cs
- ServicePointManager.cs
- SharedStatics.cs
- IncrementalCompileAnalyzer.cs
- WindowsGraphics2.cs
- PriorityQueue.cs
- KeyBinding.cs
- ObjectStateEntryDbDataRecord.cs
- SelectionHighlightInfo.cs
- ModelUIElement3D.cs
- DataTemplate.cs
- HttpWrapper.cs
- BmpBitmapEncoder.cs
- WmlObjectListAdapter.cs
- CompressedStack.cs
- WinEventTracker.cs
- ReachPageContentCollectionSerializerAsync.cs
- CodeDOMUtility.cs
- HtmlControlPersistable.cs
- MatrixValueSerializer.cs
- Trigger.cs
- AttachedAnnotationChangedEventArgs.cs
- WindowsSlider.cs
- ColorConverter.cs
- CompressionTracing.cs
- SpeakProgressEventArgs.cs
- PersonalizationProviderCollection.cs
- PerformanceCounterPermission.cs
- DeadCharTextComposition.cs
- DynamicQueryableWrapper.cs
- WindowsIdentity.cs
- CodeArgumentReferenceExpression.cs
- OdbcFactory.cs
- Quad.cs
- ExtensionWindowResizeGrip.cs
- Container.cs
- RelationshipType.cs
- DynamicQueryStringParameter.cs
- NullToBooleanConverter.cs
- ControlBuilder.cs
- MatrixCamera.cs
- StickyNoteHelper.cs
- OpacityConverter.cs
- Empty.cs
- DocumentGrid.cs
- SByteConverter.cs
- OdbcConnection.cs
- DrawListViewColumnHeaderEventArgs.cs
- DBConnection.cs
- Int32RectValueSerializer.cs
- unitconverter.cs
- SubpageParagraph.cs
- PinnedBufferMemoryStream.cs
- FixedSOMElement.cs
- ByteStack.cs
- DllNotFoundException.cs
- BookmarkScopeInfo.cs
- Unit.cs
- TypeTypeConverter.cs
- LoadWorkflowCommand.cs
- SqlDataSourceCommandEventArgs.cs
- HtmlInputPassword.cs
- XmlSchemaObjectTable.cs
- BooleanAnimationUsingKeyFrames.cs
- HotSpotCollectionEditor.cs
- ViewStateException.cs
- Decoder.cs
- ExpressionWriter.cs
- NativeMethods.cs
- GridViewEditEventArgs.cs
- HostSecurityManager.cs
- mediaclock.cs