In this article, we are going to illustrate how you can disable the selection of objects via dragging in FabricJS. In a FabricJS canvas, we can basically click anywhere and select an area and any object in that area will get selected. In this article, we will see how to disallow this behaviorSyntaxnew fabric.Canvas(element: HTMLElement|String, {selection: boolean}: Object)Parameterselement − This parameter is the element itself which can be derived using document.getElementById() or the id of the element itself. The FabricJS canvas will be initialized on this elementoptions (optional) − This parameter is an Object which provides additional customizations ... Read More
In this article, we will see how to create a canvas with a class on it using the containerClass property. In order to have access over the native HTML canvas element, we can add a wrapper class over it. This class allows us to have control over the element to add interactivity or styling as per requirement.Syntaxnew fabric.Canvas(element: HTMLElement|String, { containerClass: String}: Object)Parameterselement − This parameter is the element itself which can be derived using document.getElementById() or the id of the element itself. The FabricJS canvas will be initialized on this element.options (optional) − This parameter is an ... Read More
According to me, the most popular Q&A site is Qries, while Linked In Answers, Yahoo Answers, Quora and Answers.com among others are renowned Q&A forums. Qries enjoys a very high level of credibility mainly because of the type of people who answer the questions on Qries. The best part of Qries is that it covers all domains and subjects and you hardly find any left behind. As a business resource Q&A forums are not all that popular and rank way down at the eighth spot but for general queries, they are very popular, especially sites like Qries, which also have ... Read More
In this article, we are going to create a canvas with a background image using FabricJS. There are two ways available in FabricJS, using which we can change the background image of the canvas.First method is by using the Canvas class itself and passing backgroundImage in the second parameter of the class.Second method is to use the setBackgroundColor method. Let's see into each of them with an example.Method 1: Using the Canvas ClassIn the first method, we will be using the Canvas class itself by passing the backgroundImage in the second parameter of the class.Syntaxnew fabric.Canvas(element: HTMLElement|String, {backgroundImage: fabric.Image}: Object)Parameterselement ... Read More
One of the prime objectives of meetings is to discuss critical issues with peer decision-makers and decide on something tangible. Corporate meetings can't be for 'agreeing to disagree' - such outcomes are more suitable for negotiations with agitating trade unions where you buy time to set up the agenda for the next meeting, and so forth.If you happen to be the leader who is presiding over the meeting, it goes without saying that you ought to be in charge of the meeting and for that, you will need more than your position in the organization - to set the agenda.Maximum ... Read More
In this article, we are going to create a canvas with a given background color using FabricJS. The default background color provided by the FabricJS API is white and it can be customized using the second argument.Syntaxnew fabric.Canvas(element: HTMLElement|String, { backgroundColor: String }: Object)Parameterselement − This parameter is the element itself which can be derived using document.getElementById() or the id of the element itself. The FabricJS canvas will be initialized on this element.Options − This parameter is an Object which provides additional customizability to our canvas and backgroundColor is one of them which will help us customize the ... Read More
Future contractsThese are a standardized agreements between parties −One party commits to sell stipulated quantity, quality of commodities, securities or any other specific items at particular price on or before future date (agreed in agreement)Daily settlements of all Gains/losses (till status of contract is open)Provides either physical delivery or cash settlementFeaturesBuyer (LONG) agree to receive deliverySeller (SHORT) agree to make deliveryTraded on exchanges (either by Pits or electronically)Can be terminated prior to contract expiration (by offsetting transactions)Future contract has a underlying instrument (currency, commodity etc.), size (amount of underlying item covered in contract), delivery cycle, expiration date, quality specification, delivery ... Read More
It is a specific type of foreign currency cash flow hedge used to reduce or eliminate risk arises to foreign currency of an entity’s net investment in a foreign operation. In other words, it is the hedge designed to remove entity’s changes in net investment value to foreign investment in a foreign operation. That foreign operation occurs due to change in foreign exchange rates between local currency of foreign investee and reporting currency of investor.The hedging instrument in his hedge can be derivative, non-derivatives or a combination of both. Derivatives like foreign exchange forward contract and non-derivative like foreign currency ... Read More
Hedging an asset or liability limits the exposure to extreme changes in its value. Hedging is done to mitigate the risk of loss. Any gain arises through hedging instrument will uplift the item in the financial statement (in case of asset value falls drastically).Accounting for fair value hedges is done by company with respect to exposure of fair value change of item. This item can be asset or liability to company and can be attribute to particular risk which result in generating profit or loss to companySteps involved in fair value hedge accountingFair value of hedged item and hedging instrument ... Read More
Let us first understand what GAAP.GAAP (Generally Accepted Accounting Principles)GAAP offers standards for the true and fair value of companies financial wellbeing. It is defined by Financial Accounting Standards Board (FASB) and the Securities and Exchange Commission (SEC).Advantages of GAAP includeFacilities consistencyIncrease investors trust.Comparability of financial statements.Decision making.Disadvantages include:Compels financial statements according to creditors instead of equity holders.Non – GAAP (Generally Accepted Accounting Principles)Non – GAAP is not a standard one. Necessary adjustments are made for conveying significant information. Securities and Exchange Commission (SEC) issues rules and regulations.Advantages of Non – GAAP include −Provides Quality information.Provides Predictive information.Provides relevant and ... Read More
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP